]> 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)
commit6c940e310d3323be4405a7da6eeca6c08624ee03
tree775f9a78720aea01fa83ea92d483597275a1437c
parentfc15a13e47b3f6380b76a3d4d7b7c53da2706e20
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 29ff6fb8b061 ("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