]> git.itanic.dy.fi Git - linux-stable/commitdiff
HID: i2c-hid: add Schneider SCL142ALM to descriptor override
authorJulian Sax <jsbc@gmx.de>
Tue, 5 May 2020 15:10:42 +0000 (17:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Jun 2020 09:32:58 +0000 (11:32 +0200)
commit 6507ef10660efdfee93f0f3b9fac24b5e4d83e56 upstream.

This device uses the SIPODEV SP1064 touchpad, which does not
supply descriptors, so it has to be added to the override list.

Cc: stable@vger.kernel.org
Signed-off-by: Julian Sax <jsbc@gmx.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c

index a66f08041a1aa105d1605210c3f70b71d4afbcc3..ec142bc8c1dafaffde8478c4b2de7b8a8fee71ca 100644 (file)
@@ -389,6 +389,14 @@ static const struct dmi_system_id i2c_hid_dmi_desc_override_table[] = {
                },
                .driver_data = (void *)&sipodev_desc
        },
+       {
+               .ident = "Schneider SCL142ALM",
+               .matches = {
+                       DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SCHNEIDER"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "SCL142ALM"),
+               },
+               .driver_data = (void *)&sipodev_desc
+       },
        { }     /* Terminate list */
 };