ACPI / PM: Avoid resuming devices in ACPI PM domain during system suspend
[deliverable/linux.git] / drivers / acpi / scan.c
index 7efe546a8c42704137f3cbae8a3159485f3473b9..df6e4c924b353a24db62d5b222572135f0240816 100644 (file)
@@ -1551,9 +1551,13 @@ static void acpi_bus_get_power_flags(struct acpi_device *device)
         */
        if (acpi_has_method(device->handle, "_PSC"))
                device->power.flags.explicit_get = 1;
+
        if (acpi_has_method(device->handle, "_IRC"))
                device->power.flags.inrush_current = 1;
 
+       if (acpi_has_method(device->handle, "_DSW"))
+               device->power.flags.dsw_present = 1;
+
        /*
         * Enumerate supported power management states
         */
This page took 0.023442 seconds and 5 git commands to generate.