drm: panel-orientation-quirks: Change Air's quirk to support Air Plus
authorjsg <jsg@openbsd.org>
Thu, 22 Jun 2023 05:04:19 +0000 (05:04 +0000)
committerjsg <jsg@openbsd.org>
Thu, 22 Jun 2023 05:04:19 +0000 (05:04 +0000)
From Maya Matuszczyk
c45aed74318e65b8da938a593c124ad2ee1a1e66 in linux-6.1.y/6.1.35
1aa7f416175619e0286fddc5fc44e968b06bf2aa in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index 80ad94e..c3c7ba1 100644 (file)
@@ -179,7 +179,7 @@ static const struct dmi_system_id orientation_data[] = {
        }, {    /* AYA NEO AIR */
                .matches = {
                  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,
        }, {    /* AYA NEO NEXT */