Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: soc_button_array - add Lenovo Yoga Tablet2 1051L to the dmi_use_low_level_irq list

Add the Lenovo Yoga Tablet2 1051L to the list of devices where the
ACPI AML code is poking the GPIO config register directly changing
the IRQ type to a low_level_irq, which we need to work around.

This fixes the home button on the Lenovo Yoga Tablet2 1051L not
working.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20201206161245.24798-1-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Hans de Goede and committed by
Dmitry Torokhov
223f61b8 3b384bd6

+11
+11
drivers/input/misc/soc_button_array.c
··· 83 83 DMI_MATCH(DMI_PRODUCT_NAME, "One S1003"), 84 84 }, 85 85 }, 86 + { 87 + /* 88 + * Lenovo Yoga Tab2 1051L, something messes with the home-button 89 + * IRQ settings, leading to a non working home-button. 90 + */ 91 + .matches = { 92 + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), 93 + DMI_MATCH(DMI_PRODUCT_NAME, "60073"), 94 + DMI_MATCH(DMI_PRODUCT_VERSION, "1051L"), 95 + }, 96 + }, 86 97 {} /* Terminating entry */ 87 98 }; 88 99