]> git.baikalelectronics.ru Git - kernel.git/commit
Input: alps - only the Dell Latitude D420/430/620/630 have separate stick button...
authorHans de Goede <hdegoede@redhat.com>
Mon, 26 Oct 2015 08:50:28 +0000 (01:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 27 Oct 2015 00:23:48 +0000 (17:23 -0700)
commitffbb39d25cb805a1383438b93abe1fda79b1b265
treefa280163a03e090605bed98974058237eb72a46c
parent25c566d0aa2a4e9d5f2b9791ea1e0e7b75527806
Input: alps - only the Dell Latitude D420/430/620/630 have separate stick button bits

commit 29ff6fb8b061 ("Input: alps - non interleaved V2 dualpoint has
separate stick button bits") assumes that all alps v2 non-interleaved
dual point setups have the separate stick button bits.

Later we limited this to Dell laptops only because of reports that this
broke things on non Dell laptops. Now it turns out that this breaks things
on the Dell Latitude D600 too. So it seems that only the Dell Latitude
D420/430/620/630, which all share the same touchpad / stick combo,
have these separate bits.

This patch limits the checking of the separate bits to only these models
fixing regressions with other models.

Reported-and-tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: stable@vger.kernel.org
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-By: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c