From: Lan Tianyu Date: Thu, 12 Dec 2013 10:08:17 +0000 (+0800) Subject: ACPI / Button: Fix enabling button GPEs twice X-Git-Tag: v3.14-rc1~107^2~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8eaa29f92a66c92ade1ad663d14d975d776ef492;p=pandora-kernel.git 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 [rjw: Changelog] Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed