Re: [PATCH 4/4] pinctrl: amd: remove debounce filter setting in irq type setting

From: Andy Shevchenko
Date: Wed Nov 04 2020 - 15:41:52 EST


On Wed, Nov 4, 2020 at 6:05 PM Coiby Xu <coiby.xu@xxxxxxxxx> wrote:
>
> Debounce filter setting should be independent from irq type setting
> because according to the ACPI specs, there are separate arguments for
> specifying debounce timeout and irq type in GpioIo and GpioInt.
>
> This will fix broken touchpads for Lenovo Legion-5 AMD gaming laptops
> including 15ARH05 (R7000) and R7000P whose BIOS set the debounce timeout
> to 124.8ms which led to kernel receiving only ~7 HID reports per second.

to the kernel

> Cc: Hans de Goede <hdegoede@xxxxxxxxxx>
> Cc: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Cc: 1887190@xxxxxxxxxxxxxxxxxx
> BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1887190

> Message-Id: <CAHp75VcwiGREBUJ0A06EEw-SyabqYsp+dqs2DpSrhaY-2GVdAA@xxxxxxxxxxxxxx>

Link: https://lore.kernel.org/...

--
With Best Regards,
Andy Shevchenko