summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/bus.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-01-23 23:48:46 -0500
committerLen Brown <len.brown@intel.com>2008-01-23 23:48:46 -0500
commit3645ca8359328ea4c75bce4af54ad24028381f30 (patch)
treee66e33eb9d0bbbb66c9788ae44164e9e6b71c8d4 /drivers/acpi/bus.c
parent0f23a6b0c182b1040cb0b89e20527cd07d85aebf (diff)
parentec68373c04495edbe39fb94fad963fb781e062e5 (diff)
downloadlinux-3645ca8359328ea4c75bce4af54ad24028381f30.tar.bz2
Pull bugzilla-9798 into release branch
Diffstat (limited to 'drivers/acpi/bus.c')
-rw-r--r--drivers/acpi/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index d7a115c362d1..f4487c38d9f2 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -200,7 +200,7 @@ int acpi_bus_set_power(acpi_handle handle, int state)
* Get device's current power state
*/
acpi_bus_get_power(device->handle, &device->power.state);
- if (state == device->power.state) {
+ if ((state == device->power.state) && !device->flags.force_power_state) {
ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Device is already at D%d\n",
state));
return 0;