aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/power.c
diff options
context:
space:
mode:
authorKonstantin Karasyov <konstantin.a.karasyov@intel.com>2007-02-16 02:23:07 -0500
committerLen Brown <len.brown@intel.com>2007-02-16 02:23:07 -0500
commitb1028c545ced13590dd9a9a8086543aef26c7187 (patch)
treec02123c234525697bae75e3817ca663ea787cbfb /drivers/acpi/power.c
parent724339d76d9407cd1a8ad32a9c1fdf64840cc51b (diff)
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>
Diffstat (limited to 'drivers/acpi/power.c')
-rw-r--r--drivers/acpi/power.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c
index 0ba7dfbbb2ee..01ce311ed6ee 100644
--- a/drivers/acpi/power.c
+++ b/drivers/acpi/power.c
@@ -412,6 +412,10 @@ int acpi_power_transition(struct acpi_device *device, int state)
412 goto end; 412 goto end;
413 } 413 }
414 414
415 if (device->power.state == state) {
416 goto end;
417 }
418
415 /* 419 /*
416 * Then we dereference all power resources used in the current list. 420 * Then we dereference all power resources used in the current list.
417 */ 421 */