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

drm: panel-orientation-quirks: Change Air's quirk to support Air Plus

It turned out that Aya Neo Air Plus had a different board name than
expected.
This patch changes Aya Neo Air's quirk to account for that, as both
devices share "Air" in DMI product name.

Tested on Air claiming to be an Air Pro, and on Air Plus.

Signed-off-by: Maya Matuszczyk <maccraft123mc@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230515184843.1552612-1-maccraft123mc@gmail.com

authored by

Maya Matuszczyk and committed by
Hans de Goede
1aa7f416 2d2f5f1e

+1 -1
+1 -1
drivers/gpu/drm/drm_panel_orientation_quirks.c
··· 179 179 }, { /* AYA NEO AIR */ 180 180 .matches = { 181 181 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), 182 - DMI_MATCH(DMI_BOARD_NAME, "AIR"), 182 + DMI_MATCH(DMI_PRODUCT_NAME, "AIR"), 183 183 }, 184 184 .driver_data = (void *)&lcd1080x1920_leftside_up, 185 185 }, { /* AYA NEO NEXT */