ACPI: resource: Do IRQ override on TongFang GMxXGxx
authorWerner Sembach <wse@tuxedocomputers.com>
Mon, 16 Oct 2023 16:08:28 +0000 (18:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:19:58 +0000 (17:19 +0000)
commit 0da9eccde3270b832c059ad618bf66e510c75d33 upstream.

The TongFang GMxXGxx/TUXEDO Stellaris/Pollaris Gen5 needs IRQ overriding
for the keyboard to work.

Adding an entry for this laptop to the override_table makes the internal
keyboard functional.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Cc: All applicable <stable@vger.kernel.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/resource.c

index 297a885..80fbd38 100644 (file)
@@ -496,6 +496,18 @@ static const struct dmi_system_id maingear_laptop[] = {
                }
        },
        {
+               /* TongFang GMxXGxx/TUXEDO Polaris 15 Gen5 AMD */
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GMxXGxx"),
+               },
+       },
+       {
+               /* TongFang GM6XGxX/TUXEDO Stellaris 16 Gen5 AMD */
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "GM6XGxX"),
+               },
+       },
+       {
                .ident = "MAINGEAR Vector Pro 2 17",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Micro Electronics Inc"),