]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Input: synaptics - T540p - unify with other LEN0034 models
authorHans de Goede <hdegoede@redhat.com>
Tue, 20 May 2014 05:52:30 +0000 (22:52 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 Jul 2014 12:33:36 +0000 (13:33 +0100)
commit 6d396ede224dc596d92d7cab433713536e68916c upstream.

The T540p has a touchpad with pnp-id LEN0034, all the models with this
pnp-id have the same min/max values, except the T540p where the values are
slightly off. Fix them to be identical.

This is a preparation patch for simplifying the quirk table.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/input/mouse/synaptics.c

index 4e8e283152e1627bdeaa175396ec23784dac6c32..d2ce1b45c648fe92d1a9b3f96b82e7075ca65c41 100644 (file)
@@ -1431,7 +1431,7 @@ static const struct dmi_system_id min_max_dmi_table[] __initconst = {
                        DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
                        DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T540"),
                },
-               .driver_data = (int []){1024, 5056, 2058, 4832},
+               .driver_data = (int []){1024, 5112, 2024, 4832},
        },
        {
                /* Lenovo ThinkPad L540 */