diff options
author | Lan Tianyu <tianyu.lan@intel.com> | 2013-12-12 11:08:17 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-12-19 15:07:00 +0100 |
commit | 8eaa29f92a66c92ade1ad663d14d975d776ef492 (patch) | |
tree | a93ce49ff4c5300c5a73412f2490ae3f128ea037 /drivers/acpi/ec.c | |
parent | Linux 3.13-rc4 (diff) | |
download | linux-8eaa29f92a66c92ade1ad663d14d975d776ef492.tar.xz linux-8eaa29f92a66c92ade1ad663d14d975d776ef492.zip |
ACPI / Button: Fix enabling button GPEs twice
Button GPEs have been enabled in the acpi_wake_device_init() during
boot and the button driver enables them for the second time.
Consequently, it is necessary to do
# echo disable > /sys/firmware/acpi/interrupts/gpeXXX
twice in a row to disable those GPEs via sysfs. This patch is to
remove the GPE enabling code from the button driver to avoid the
problem.
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
[rjw: Changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/ec.c')
0 files changed, 0 insertions, 0 deletions