ACPI / thermal: make acpi_thermal_check asynchronous on resume
authorAaron Lu <aaron.lu@intel.com>
Tue, 4 Mar 2014 06:24:46 +0000 (14:24 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 5 Mar 2014 00:43:44 +0000 (01:43 +0100)
On resume we do not need to wait for acpi_thermal_check to finish.
Instead, we can run it asynchronously and not block the whole system
resume. Also, we make sure when we are suspending again, previously
queued work for acpi_thermal_check is done.

Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/thermal.c

Simple merge