[PATCH 0/1] [Artful/linux-oem] Fix i2c touchpad freeze on AMD laptops

Kai-Heng Feng kai.heng.feng at canonical.com
Wed Nov 29 09:22:59 UTC 2017

BugLink: https://bugs.launchpad.net/bugs/1732056

Touchpad freezes after a brief usage.

Quote from the commit log:
"The stale cached value written at the final stage undoes the masking.
Fix this by re-reading the register before clearing the interrupt.

I also spotted that the interrupt-clearing code can race against
amd_gpio_irq_mask() / amd_gpio_irq_unmask(), so add locking there.
Presumably this race was leading to the loss of interrupts."

[Test Case]
Touchpad no longer freezes on ideapad 320-15ABR, a new Dell Latitude and
a new Dell Inspiron.

[Regression Potential]
Low. It limits to AMD laptops

Daniel Drake (1):
  pinctrl/amd: fix masking of GPIO interrupts

 drivers/pinctrl/pinctrl-amd.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)


More information about the kernel-team mailing list