HID: i2c-hid: add Vero K147 to descriptor override
authorJulian Sax <jsbc@gmx.de>
Thu, 26 Nov 2020 17:51:58 +0000 (18:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Dec 2020 15:02:43 +0000 (16:02 +0100)
commit c870d50ce387d84b6438211a7044c60afbd5d60a 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>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
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 35f3bfc..8e0f674 100644 (file)
@@ -405,6 +405,14 @@ static const struct dmi_system_id i2c_hid_dmi_desc_override_table[] = {
                },
                .driver_data = (void *)&sipodev_desc
        },
+       {
+               .ident = "Vero K147",
+               .matches = {
+                       DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VERO"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "K147"),
+               },
+               .driver_data = (void *)&sipodev_desc
+       },
        { }     /* Terminate list */
 };