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

Timo Aaltonen tjaalton at ubuntu.com
Thu Dec 14 15:16:39 UTC 2017


On 29.11.2017 11: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 linux-oem, thanks


-- 
t




More information about the kernel-team mailing list