]> git.hungrycats.org Git - linux/commitdiff
Input: elantech - add Fujitsu Lifebook E556 to force crc_enabled
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 6 Oct 2016 05:49:30 +0000 (22:49 -0700)
committerJiri Slaby <jslaby@suse.cz>
Fri, 28 Oct 2016 18:37:00 +0000 (20:37 +0200)
commit 62837b3c1a95535d1a287c9c8c6563bbd8d37033 upstream.

Another Lifebook machine that needs the same quirk as other similar
models to make the driver working.

Also let's reorder elantech_dmi_force_crc_enabled list so LIfebook enries
are in alphabetical order.

Reported-by: William Linna <william.linna@gmail.com>
Tested-by: William Linna <william.linna@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/input/mouse/elantech.c

index f24062ab80f647e6927ca5eb855333204fb6d577..a25fc40522f3cf5d1235f4c1dcb139da5e40505e 100644 (file)
@@ -1395,6 +1395,13 @@ static const struct dmi_system_id elantech_dmi_force_crc_enabled[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "CELSIUS H760"),
                },
        },
+       {
+               /* Fujitsu LIFEBOOK E544  does not work with crc_enabled == 0 */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E544"),
+               },
+       },
        {
                /* Fujitsu LIFEBOOK E554  does not work with crc_enabled == 0 */
                .matches = {
@@ -1403,10 +1410,10 @@ static const struct dmi_system_id elantech_dmi_force_crc_enabled[] = {
                },
        },
        {
-               /* Fujitsu LIFEBOOK E544  does not work with crc_enabled == 0 */
+               /* Fujitsu LIFEBOOK E556 does not work with crc_enabled == 0 */
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
-                       DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E544"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E556"),
                },
        },
        {