diff options
author | Len Brown <len.brown@intel.com> | 2007-02-17 04:11:50 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-17 04:11:50 +0100 |
commit | 08e4a10ec82faf5ba67c8d0115b7bc9e58071555 (patch) | |
tree | be31751f933ea26d8e7edb592a19584c3ff50679 /drivers/acpi/power.c | |
parent | Pull bugzilla-7200 into release branch (diff) | |
parent | ACPI: fix fan after resume from S3 (diff) | |
download | linux-08e4a10ec82faf5ba67c8d0115b7bc9e58071555.tar.xz linux-08e4a10ec82faf5ba67c8d0115b7bc9e58071555.zip |
Pull bugzilla-7570 into release branch
Diffstat (limited to 'drivers/acpi/power.c')
-rw-r--r-- | drivers/acpi/power.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index 00d6118ff1ef..1ef338545dfe 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c @@ -455,6 +455,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. */ |