diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-15 07:58:43 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-15 07:58:43 -0500 |
commit | a68d35323b091f51e0957313f0f871f187879143 (patch) | |
tree | 837f44a7eee4a51ee2aa3c61e5d759a091b540e1 /drivers/acpi/thermal.c | |
parent | e8f71df723339b6d3861886f58c245812d1994f8 (diff) | |
parent | 66f2fda93b67fa744d406e6dcf443f67bac204b6 (diff) |
Merge branch 'acpi-assorted'
* acpi-assorted:
ACPI: Add DMI entry for Sony VGN-FW41E_H
ACPI: fix obsolete comment in custom_method.c
ACPI / thermal: Use mode to enable/disable kernel thermal processing
ACPI thermal: remove unnecessary newline from exception message
ACPI sysfs: remove unnecessary newline from exception
ACPI video: remove unnecessary newline from error messages
ACPI: SRAT: report non-volatile memory in debug
ACPI: Rework acpi_get_child() to be more efficient
Diffstat (limited to 'drivers/acpi/thermal.c')
-rw-r--r-- | drivers/acpi/thermal.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index da079d4e0baa..8470771e5eae 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c | |||
@@ -288,7 +288,7 @@ do { \ | |||
288 | if (flags != ACPI_TRIPS_INIT) \ | 288 | if (flags != ACPI_TRIPS_INIT) \ |
289 | ACPI_EXCEPTION((AE_INFO, AE_ERROR, \ | 289 | ACPI_EXCEPTION((AE_INFO, AE_ERROR, \ |
290 | "ACPI thermal trip point %s changed\n" \ | 290 | "ACPI thermal trip point %s changed\n" \ |
291 | "Please send acpidump to linux-acpi@vger.kernel.org\n", str)); \ | 291 | "Please send acpidump to linux-acpi@vger.kernel.org", str)); \ |
292 | } while (0) | 292 | } while (0) |
293 | 293 | ||
294 | static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag) | 294 | static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag) |
@@ -531,6 +531,10 @@ static void acpi_thermal_check(void *data) | |||
531 | { | 531 | { |
532 | struct acpi_thermal *tz = data; | 532 | struct acpi_thermal *tz = data; |
533 | 533 | ||
534 | if (!tz->tz_enabled) { | ||
535 | pr_warn("thermal zone is disabled \n"); | ||
536 | return; | ||
537 | } | ||
534 | thermal_zone_device_update(tz->thermal_zone); | 538 | thermal_zone_device_update(tz->thermal_zone); |
535 | } | 539 | } |
536 | 540 | ||