From: Mathias Nyman Date: Mon, 28 Jan 2013 14:23:10 +0000 (+0200) Subject: gpiolib-acpi: Add ACPI5 event model support to gpio. X-Git-Tag: v3.9-rc1~76^2~12^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d1c28a449c6c23a126e3a08ee30914609aac227;p=pandora-kernel.git gpiolib-acpi: Add ACPI5 event model support to gpio. Add ability to handle ACPI events signalled by GPIO interrupts. ACPI5 platforms can use GPIO signaled ACPI events. These GPIO interrupts are handled by ACPI event methods which need to be called from the GPIO controller's interrupt handler. acpi_gpio_request_interrupt() finds out which gpio pins have acpi event methods and assigns interrupt handlers that calls the acpi event methods for those pins. Partially based on work by Rui Zhang Signed-off-by: Mathias Nyman Signed-off-by: Linus Walleij --- Reading git-diff-tree failed