Skip to content

Commit 6ab2e51

Browse files
mariushochdtor
authored andcommitted
Input: soc_button_array - also add Lenovo Yoga Tablet2 1051F to dmi_use_low_level_irq
Commit 223f61b ("Input: soc_button_array - add Lenovo Yoga Tablet2 1051L to the dmi_use_low_level_irq list") added the 1051L to this list already, but the same problem applies to the 1051F. As there are no further 1051 variants (just the F/L), we can just DMI match 1051. Tested on a Lenovo Yoga Tablet2 1051F: Without this patch the home-button stops working after a wakeup from suspend. Signed-off-by: Marius Hoch <mail@mariushoch.de> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20220603120246.3065-1-mail@mariushoch.de Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent c42e656 commit 6ab2e51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/input/misc/soc_button_array.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ static const struct dmi_system_id dmi_use_low_level_irq[] = {
8585
},
8686
{
8787
/*
88-
* Lenovo Yoga Tab2 1051L, something messes with the home-button
88+
* Lenovo Yoga Tab2 1051F/1051L, something messes with the home-button
8989
* IRQ settings, leading to a non working home-button.
9090
*/
9191
.matches = {
9292
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
9393
DMI_MATCH(DMI_PRODUCT_NAME, "60073"),
94-
DMI_MATCH(DMI_PRODUCT_VERSION, "1051L"),
94+
DMI_MATCH(DMI_PRODUCT_VERSION, "1051"),
9595
},
9696
},
9797
{} /* Terminating entry */

0 commit comments

Comments
 (0)