mfd: cros_ec: Add ACPI GPE handler for LID0 devices
authorArchana Patni <archana.patni@intel.com>
Wed, 1 Feb 2017 16:22:03 +0000 (17:22 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 27 Apr 2017 08:25:03 +0000 (09:25 +0100)
commite04653a9dcf4d98defe2149c885382e5cc72082f
treeb897a9dee0fe25d381ae806692aad874c6114634
parent18973ceb89d5022992e5707e2b0a268ddc39b7e0
mfd: cros_ec: Add ACPI GPE handler for LID0 devices

This patch installs an ACPI GPE handler for LID0 ACPI device to indicate
ACPI core that this GPE should stay enabled for lid to work in suspend
to idle path.

Signed-off-by: Archana Patni <archana.patni@intel.com>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Makefile
drivers/mfd/cros_ec.c
drivers/mfd/cros_ec_acpi_gpe.c [new file with mode: 0644]
include/linux/mfd/cros_ec.h