]> git.baikalelectronics.ru Git - kernel.git/commit
Input: alps - only Dell laptops have separate button bits for v2 dualpoint sticks
authorHans de Goede <hdegoede@redhat.com>
Mon, 3 Aug 2015 21:06:24 +0000 (14:06 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 3 Aug 2015 21:11:47 +0000 (14:11 -0700)
commit536667789e4b99e1f6eb86cc9334a1c17258e397
tree775f9a78720aea01fa83ea92d483597275a1437c
parentf626e75652016511bda10093e3d086b2c4b12b4c
Input: alps - only Dell laptops have separate button bits for v2 dualpoint sticks

It turns out that only Dell laptops have the separate button bits for
v2 dualpoint sticks and that commit 87a07712ca8d ("Input: alps - non
interleaved V2 dualpoint has separate stick button bits") causes
regressions on Toshiba laptops.

This commit adds a check for Dell laptops to the code for handling these
extra button bits, fixing this regression.

This patch has been tested on a Dell Latitude D620 to make sure that it
does not reintroduce the original problem.

Reported-and-tested-by: Douglas Christman <douglaschristman@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/input/alps.txt
drivers/input/mouse/alps.c