]> git.baikalelectronics.ru Git - kernel.git/commit
Input: goodix - workaround Cherry Trail devices with a bogus ACPI Interrupt() resource
authorHans de Goede <hdegoede@redhat.com>
Tue, 1 Mar 2022 06:53:12 +0000 (22:53 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 1 Mar 2022 07:14:53 +0000 (23:14 -0800)
commit9cfa795fcf794d89921df35c6c5bf29935740a54
treea54c0dbe585ec4d908f12cc2987b7a704b5021ba
parent845570540ab1c473a474f072699b75d8a3db7d85
Input: goodix - workaround Cherry Trail devices with a bogus ACPI Interrupt() resource

ACPI/x86 devices with a Cherry Trail SoC should have a GpioInt + a regular
GPIO ACPI resource in their ACPI tables.

Some CHT devices have a bug, where the also is bogus interrupt resource
(likely copied from a previous Bay Trail based generation of the device).

The i2c-core-acpi code will assign the bogus, non-working, interrupt
resource to client->irq. Add a workaround to fix this up.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=2043960
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220228111613.363336-1-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/goodix.c