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

From: Coiby Xu
Date: Wed Nov 04 2020 - 18:10:04 EST


On Wed, Nov 04, 2020 at 10:42:38PM +0200, Andy Shevchenko wrote:
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

Thank you for correcting my grammar mistakes!


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

--
Best regards,
Coiby