ACPI: resource: Add another DMI match for the TongFang GMxXGxx
authorHans de Goede <hdegoede@redhat.com>
Sat, 23 Dec 2023 14:57:06 +0000 (15:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Jan 2024 10:51:47 +0000 (11:51 +0100)
commit df0cced74159c79e36ce7971f0bf250673296d93 upstream.

The TongFang GMxXGxx, which needs IRQ overriding for the keyboard to work,
is also sold as the Eluktronics RP-15 which does not use the standard
TongFang GMxXGxx DMI board_name.

Add an entry for this laptop to the irq1_edge_low_force_override[] DMI
table to make the internal keyboard functional.

Reported-by: Luis Acuna <ldacuna@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Cc: All applicable <stable@vger.kernel.org>
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 d09e3e7..85ae394 100644 (file)
@@ -509,6 +509,13 @@ static const struct dmi_system_id maingear_laptop[] = {
                },
        },
        {
+               /* TongFang GMxXGxx sold as Eluktronics Inc. RP-15 */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Eluktronics Inc."),
+                       DMI_MATCH(DMI_BOARD_NAME, "RP-15"),
+               },
+       },
+       {
                /* TongFang GM6XGxX/TUXEDO Stellaris 16 Gen5 AMD */
                .matches = {
                        DMI_MATCH(DMI_BOARD_NAME, "GM6XGxX"),