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

Kleber Souza kleber.souza at canonical.com
Wed Feb 28 15:49:30 UTC 2018


On 11/29/17 10:22, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1732056
> 
> [Impact]
> Touchpad freezes after a brief usage.
> 
> [Fix]
> 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(-)
> 

Applied to artful/master-next-backlog branch.

Thanks,
Kleber




More information about the kernel-team mailing list