HID: i2c-hid: Add support for ACPI GPIO interrupts
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 23 Feb 2015 13:52:45 +0000 (15:52 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 24 Feb 2015 19:53:30 +0000 (20:53 +0100)
commita485923efbb83056b7fb79e4fd2fee05c990ad5e
tree33ad6cb9a02e639f75cc999c53a649c5e5b1cd2f
parentc4bbb39806cf4098d7a01a779b40171047004046
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 <mika.westerberg@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid.c
This page took 0.026762 seconds and 5 git commands to generate.