Skip to content

Commit d8809f6

Browse files
mariushochardbiesheuvel
authored andcommitted
efi: sysfb_efi: Extend quirk to cover IdeaPad Duet 3 10IGL5-LTE
The LTE enabled version of the IdeaPad Duet 3 10IGL5 needs the same quirk as the non-LTE version. As these are the only two IdeaPad Duet 3 10IGL5 versions, we can safely use non exact matching. Tested on a IdeaPad Duet 3 10IGL5-LTE. Signed-off-by: Marius Hoch <mail@mariushoch.de> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
1 parent 8939562 commit d8809f6

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

drivers/firmware/efi/sysfb_efi.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,11 +311,14 @@ static const struct dmi_system_id efifb_dmi_swap_width_height[] __initconst = {
311311
.callback = efifb_swap_width_height,
312312
},
313313
{
314-
/* Lenovo IdeaPad Duet 3 10IGL5 with 1200x1920 portrait screen */
314+
/*
315+
* Lenovo IdeaPad Duet 3 10IGL5 and 10IGL5-LTE with
316+
* 1200x1920 portrait screen
317+
*/
315318
.matches = {
316319
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
317-
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION,
318-
"IdeaPad Duet 3 10IGL5"),
320+
/* Non exact match to also match the LTE version */
321+
DMI_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Duet 3 10IGL5"),
319322
},
320323
.callback = efifb_swap_width_height,
321324
},

0 commit comments

Comments
 (0)