thermal: Prevent polling from happening during system suspend
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 6 Nov 2011 13:21:38 +0000 (14:21 +0100)
committerLen Brown <len.brown@intel.com>
Mon, 7 Nov 2011 01:38:49 +0000 (20:38 -0500)
The thermal driver should use a freezable workqueue to schedule
polling to prevent thermal_zone_device_update() from being run
during system suspend, when the devices it relies on may be inactive.
Make it use the system freezable workqueue for this purpose.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found