Commit 1aa7f416 authored by Maya Matuszczyk's avatar Maya Matuszczyk Committed by Hans de Goede
Browse files

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: default avatarMaya Matuszczyk <maccraft123mc@gmail.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230515184843.1552612-1-maccraft123mc@gmail.com
parent 2d2f5f1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -179,7 +179,7 @@ static const struct dmi_system_id orientation_data[] = {
	}, {	/* AYA NEO AIR */
	}, {	/* AYA NEO AIR */
		.matches = {
		.matches = {
		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
		  DMI_MATCH(DMI_BOARD_NAME, "AIR"),
		  DMI_MATCH(DMI_PRODUCT_NAME, "AIR"),
		},
		},
		.driver_data = (void *)&lcd1080x1920_leftside_up,
		.driver_data = (void *)&lcd1080x1920_leftside_up,
	}, {	/* AYA NEO NEXT */
	}, {	/* AYA NEO NEXT */