]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: dell-laptop: add Inspiron N5110 to touchpad LED quirk table
authorGleb Sonichev <sonichev555@gmail.com>
Mon, 25 May 2026 10:00:47 +0000 (13:00 +0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 9 Jun 2026 07:35:02 +0000 (10:35 +0300)
The Inspiron N5110 needs the touchpad LED quirk (Vostro V130 quirk)
to properly control the touchpad LED. Add its DMI identifier
to the existing quirk table, next to the similar Inspiron M5110 entry.

Tested on Dell Inspiron N5110.
The touchpad LED works correctly with this quirk enabled.

Signed-off-by: Gleb Sonichev <sonichev555@gmail.com>
Acked-by: Pali Rohár <pali@kernel.org>
Link: https://patch.msgid.link/20260525100047.20046-1-sonichev555@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/dell/dell-laptop.c

index 57748c3ea24fcbbb41dde4c500ce9dcb3f6dd995..7fc3bbb8c4a4041f322ffca0441f64b2229a0da8 100644 (file)
@@ -222,6 +222,15 @@ static const struct dmi_system_id dell_quirks[] __initconst = {
                },
                .driver_data = &quirk_dell_vostro_v130,
        },
+       {
+               .callback = dmi_matched,
+               .ident = "Dell Inspiron N5110",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron N5110"),
+               },
+               .driver_data = &quirk_dell_vostro_v130,
+       },
        {
                .callback = dmi_matched,
                .ident = "Dell Vostro 3360",