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:
Konstantin Karasyov
2007-02-16 02:23:07 -05:00
committed by Len Brown
parent 724339d76d
commit b1028c545c
3 changed files with 27 additions and 20 deletions

View File

@ -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.
*/