lkml.org 
[lkml]   [2009]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC][PATCH 6/7] PM: Asynchronous suspend and resume of ACPI devices
Date
Set async_suspend for all ACPI devices.

---
drivers/acpi/scan.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6/drivers/acpi/scan.c
===================================================================
--- linux-2.6.orig/drivers/acpi/scan.c
+++ linux-2.6/drivers/acpi/scan.c
@@ -539,6 +539,7 @@ static int acpi_device_register(struct a
dev_name(&device->dev));

device->removal_type = ACPI_BUS_REMOVAL_NORMAL;
+ device_enable_async_suspend(&device->dev, true);
return 0;
end:
mutex_lock(&acpi_device_lock);

\
 
 \ /
  Last update: 2009-08-17 02:27    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site