]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / fan: do nothing in suspend and poweroff callback
authorAaron Lu <aaron.lu@intel.com>
Wed, 19 Feb 2014 04:16:48 +0000 (12:16 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 20 Feb 2014 20:42:09 +0000 (21:42 +0100)
commitd06a3ad36f665269470ca356a62b57b326c9ffb1
treede5413f115b9f0fd410a9c78a5010ec06cd9e7e7
parent6452a2fd01013d68c0f8a6a5350aeade0ad437c5
ACPI / fan: do nothing in suspend and poweroff callback

We put fans to full speed in acpi_fan_suspend(), but that is only
needed in the hibernation case when we are generating hibernation
image, so this patch removes that when we are about to suspend or
poweroff.

References: http://www.spinics.net/lists/linux-acpi/msg48636.html
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/fan.c