Re: [PATCH] ACPI / PM: Fix PM initialization for devices that are not present

2015-01-05 Thread Mika Westerberg
On Thu, Jan 01, 2015 at 11:38:28PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If an ACPI device object whose _STA returns 0 (not present and not > functional) has _PR0 or _PS0, its power_manageable flag will be set > and acpi_bus_init_power() will return 0 for it. Consequently

[PATCH] ACPI / PM: Fix PM initialization for devices that are not present

2015-01-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If an ACPI device object whose _STA returns 0 (not present and not functional) has _PR0 or _PS0, its power_manageable flag will be set and acpi_bus_init_power() will return 0 for it. Consequently, if such a device object is passed to the ACPI device PM functions, they wil