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)
commita59ffb2062df3a5c346dbed931fa1e587fd0f0f3
treefe3f973f9a0f85fcdd5e7ce723bd895495453132
parent0414855fdc4a40da05221fc6062cccbc0c30f169
ACPI / thermal: make acpi_thermal_check asynchronous on resume

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