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)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 17 Apr 2015 00:11:34 +0000 (20:11 -0400)
commitad565a9e13d90f1c70111f1633794499d750e3e3
treef42907acdbe4709c1fdf05daf0dea0844a8255f3
parentc22c859798916c27244a053e0050d9a06deead97
Input: synaptics - skip quirks when post-2013 dimensions

[ Upstream commit 02e07492cdfae9c86e3bd21c0beec88dbcc1e9e8 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/input/mouse/synaptics.c