[GIT PULL] ACPI power management fix for 3.18-rc6
From: Rafael J. Wysocki
Date: Fri Nov 21 2014 - 09:51:35 EST
Hi Linus,
Please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm+acpi-3.18-rc6
to receive an ACPI power management fix for v3.18-rc6 as
commit 78579b7c7eb45f0e7ec5e9437087ed21749f9a9c
ACPI / PM: Ignore wakeup setting if the ACPI companion can't wake up
on top of commit fc14f9c1272f62c3e8d01300f52467c0d9af50f9
Linux 3.18-rc5
This is just a one-liner fixing a regression introduced in 3.13 that
broke system suspend on some Chromebooks.
On those machines there are ACPI device objects for some I2C devices
that can wake up the system from sleep states, but that is done via
a platform-specific mechanism and the ACPI objects don't contain any
wakeup-related information. When we started to use ACPI power
management with those devices (which happened during the 3.13 cycle),
their configuration confused the ACPI PM layer that returned error
codes from suspend callbacks for them causing system suspend to fail.
However, the ACPI PM layer can safely ignore the wakeup setting from
a device driver if the ACPI object corresponding to the device in
question doesn't contain wakeup information in which case the driver
itself is responsible for setting up the device for system wakeup.
Thanks!
---------------
Rafael J. Wysocki (1):
ACPI / PM: Ignore wakeup setting if the ACPI companion can't wake up
---------------
drivers/acpi/device_pm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/