]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: Fix polling frequency for systems without passive cooling
authorMatthew Garrett <mjg59@srcf.ucam.org>
Tue, 14 Apr 2009 19:16:45 +0000 (20:16 +0100)
committerLen Brown <len.brown@intel.com>
Sat, 18 Apr 2009 05:05:23 +0000 (01:05 -0400)
commit1d754a70342d1d0c98632d3bd9d377c602031229
treeef41e8abb83d86d8b68379f4ef4ce8447708eed9
parent2afdd9f0aa5ee2c7a3b216eda59631d209092a7a
thermal: Fix polling frequency for systems without passive cooling

The polling interval (in deciseconds) was accidently interpreted as
being in milliseconds in one codepath, resulting in excessively frequent
polling. Ensure that the conversion is performed.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/thermal.c