[Vivid][SRU][PATCH] LP#1501187 Backport support for ACPI GPIO interrupts for i2c-hid devices v2

Phidias Chiang phidias.chiang at canonical.com
Fri Oct 16 08:20:58 UTC 2015


BugLink: http://bugs.launchpad.net/bugs/1501187

[Impact]

On some platforms HID over I2C uses GPIO interrupts instead of directly connected
to the IO-APIC. Without ACPI GPIO interrupts support, i2c-hid can not find IRQ
when probing the device, and shows the following message:

i2c_hid i2c-SYNA7508:00: Could not register for SYNA7508:00 interrupt, irq = -1, ret = -22
i2c_hid: probe of i2c-SYNA7508:00 failed with error -22

So far we've found this issue on some SKL platforms, and one BSW platform.

[Fix]

There's a fix in mainline v4.1-rc1, which add the support for ACPI GPIO interrupts
for i2c-hid module.

This patch set also contains another patch "HID: i2c-hid: The interrupt should be
level sensitive" to avoid conflict


Mika Westerberg (2):
  HID: i2c-hid: The interrupt should be level sensitive
  HID: i2c-hid: Add support for ACPI GPIO interrupts

 drivers/hid/i2c-hid/i2c-hid.c |   70 ++++++++++++++++++++++++++++++-----------
 1 file changed, 51 insertions(+), 19 deletions(-)

-- 
1.7.9.5





More information about the kernel-team mailing list