]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerZefan Li <lizefan@huawei.com>
Fri, 19 Jun 2015 03:40:26 +0000 (11:40 +0800)
commitf88bb391b79b7c3b79399ca1434a0e2bf3b9d7ef
tree5ba0c628ab89c8a54e7ee9deaf9a62c4ed0bbebb
parent1ca948cd3bc67f810f3ec9ecea257172296f112c
Input: synaptics - query min dimensions for fw v8.1

commit ac097930f0730a9b777737de2b51e0fc49d2be7a upstream.

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

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: Zefan Li <lizefan@huawei.com>
drivers/input/mouse/synaptics.c