ACPI: fix fan after resume from S3
http://bugzilla.kernel.org/show_bug.cgi?id=7570 Signed-off-by: Konstantin Karasyov <konstantin.a.karasyov@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
committed by
Len Brown
parent
724339d76d
commit
b1028c545c
@ -412,6 +412,10 @@ int acpi_power_transition(struct acpi_device *device, int state)
|
||||
goto end;
|
||||
}
|
||||
|
||||
if (device->power.state == state) {
|
||||
goto end;
|
||||
}
|
||||
|
||||
/*
|
||||
* Then we dereference all power resources used in the current list.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user