From: Mika Westerberg Date: Mon, 23 Feb 2015 13:52:45 +0000 (+0200) Subject: HID: i2c-hid: Add support for ACPI GPIO interrupts X-Git-Tag: omap-for-v4.2/o2_dc~153^2~1^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a485923efbb8;p=pandora-kernel.git HID: i2c-hid: Add support for ACPI GPIO interrupts The HID over I2C specification allows to have the interrupt for a HID device to be GPIO instead of directly connected to the IO-APIC. Add support for this so that when the driver does not find proper interrupt number from the I2C client structure we check if it has ACPI GpioInt() resource listed in _CRS. If it is found we convert it to an interrupt number and use it instead. Signed-off-by: Mika Westerberg Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed