Kernel.org Bugzilla – Attachment #98621: debug patch to do a thermal_zone_device_update after reading temperature for
bug #56591
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
View
|
Details
|
Raw Unified
| Return to
bug 56591
| Differences between
patch for upstream
patch v5: do not always return THERMAL_TREND_RAISING for ACPI active cooling
Patch to make sure coolong devices turn off when temp drops to trip point
Patch to fix temp units before comparison
debug oatch to check acpi thermal_get_trend
patch v4: do not always return THERMAL_TREND_RAISING for ACPI active cooling
patch v3: do not always return THERMAL_TREND_RAISING for ACPI active cooling
patch v2: do not always return THERMAL_TREND_RAISING for ACPI active cooling
patch: do not always return THERMAL_TREND_RAISING for ACPI active cooling
debug patch to check cooling state transition in step_wise governor
and this patch
Collapse All
|
Expand All
(-)
a/drivers/thermal/thermal_core.c (-2 / +1 lines)
Lines 466-472 temp_show(struct device *dev, struct device_attribute *attr, char *buf)
Link Here
466
466
467
if (ret)
467
if (ret)
468
return ret;
468
return ret;
469
469
thermal_zone_device_update(tz);
470
return sprintf(buf, "%ld\n", temperature);
470
return sprintf(buf, "%ld\n", temperature);
471
}
471
}
472
472
473
-
Return to
bug 56591