Input: synaptics - skip quirks when post-2013 dimensions
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 9 Mar 2015 05:29:25 +0000 (22:29 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Mar 2015 06:33:16 +0000 (23:33 -0700)
Post-2013 Lenovo laptops provide correct min/max dimensions, which are
different with the ones currently quirked.  According to
https://bugzilla.kernel.org/show_bug.cgi?id=91541 the following board ids
are assigned in the post-2013 touchpads:

t440p/t440s: LEN0036 -> 2964/2962
t540p:       LEN0034 -> 2964

Using 2961 as the common minimum makes these 3 laptops OK. We may need
to update those values later if other pnp_ids has a lower board_id.

Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c

index a900a385e5c338cf86e4efff52ae98e34c6a0294..9567a708aa64373e25b407736a7863555d7d386d 100644 (file)
@@ -144,7 +144,7 @@ static const struct min_max_quirk min_max_pnpid_table[] = {
                (const char * const []){"LEN0034", "LEN0036", "LEN0037",
                                        "LEN0039", "LEN2002", "LEN2004",
                                        NULL},
-               {ANY_BOARD_ID, ANY_BOARD_ID},
+               {ANY_BOARD_ID, 2961},
                1024, 5112, 2024, 4832
        },
        {
This page took 0.026207 seconds and 5 git commands to generate.