Input: synaptics - query min dimensions for fw v8.1
authorDaniel Martin <consume.noise@gmail.com>
Mon, 9 Mar 2015 05:28:40 +0000 (22:28 -0700)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 17 Apr 2015 00:11:32 +0000 (20:11 -0400)
commit87602c580ad5f9d861a17c8edadb5bde1b4d37c2
treee6102d168fe8d262c7ca2d8d8f25da16ab295a35
parent20428fd8412106ee9945660d9cd0e695da841fbf
Input: synaptics - query min dimensions for fw v8.1

[ Upstream commit ac097930f0730a9b777737de2b51e0fc49d2be7a ]

Query the min dimensions even if the check
SYN_EXT_CAP_REQUESTS(priv->capabilities) >= 7 fails, but we know that the
firmware version 8.1 is safe.

With that we don't need quirks for post-2013 models anymore as they expose
correct min and max dimensions.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=91541

Cc: stable@vger.kernel.org
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
  re-order the tests to check SYN_CAP_MIN_DIMENSIONS even on FW 8.1
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