diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2015-02-23 15:52:45 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-02-24 20:53:30 +0100 |
commit | a485923efbb83056b7fb79e4fd2fee05c990ad5e (patch) | |
tree | 33ad6cb9a02e639f75cc999c53a649c5e5b1cd2f /samples | |
parent | c4bbb39806cf4098d7a01a779b40171047004046 (diff) | |
download | linux-stable-a485923efbb83056b7fb79e4fd2fee05c990ad5e.tar.gz linux-stable-a485923efbb83056b7fb79e4fd2fee05c990ad5e.tar.bz2 linux-stable-a485923efbb83056b7fb79e4fd2fee05c990ad5e.zip |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions