]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit073e570d7c2caae9910a993d56f340be4548a4a8
tree775f9a78720aea01fa83ea92d483597275a1437c
parentb6e26546cc08e870da5413a3fcccc100eb2192c6
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 92bac83dd79e ("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