summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-12-16 04:35:50 +0100
committerLen Brown <len.brown@intel.com>2009-12-16 04:35:50 +0100
commit1667e399a41be976c9d37bf02aa477979df111d2 (patch)
tree9b412df956905afecc15753628b608c06f9b11d7 /drivers/acpi
parentMerge branch 'hp-wmi' into release (diff)
parentthermal: disable polling if passive_delay and polling_delay are both unset (diff)
downloadlinux-1667e399a41be976c9d37bf02aa477979df111d2.tar.xz
linux-1667e399a41be976c9d37bf02aa477979df111d2.zip
Merge branch 'thermal-2.6.33' into release
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/thermal.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
index 65f67815902a..9073ada88835 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -1052,6 +1052,13 @@ static int acpi_thermal_trip_seq_show(struct seq_file *seq, void *offset)
acpi_device_bid(device));
}
seq_puts(seq, "\n");
+ } else {
+ seq_printf(seq, "passive (forced):");
+ if (tz->thermal_zone->forced_passive)
+ seq_printf(seq, " %i C\n",
+ tz->thermal_zone->forced_passive / 1000);
+ else
+ seq_printf(seq, "<not set>\n");
}
for (i = 0; i < ACPI_THERMAL_MAX_ACTIVE; i++) {