Input: ALPS - fix trackstick button handling on V8 devices
authorMasaki Ota <masaki.ota@jp.alps.com>
Fri, 17 Mar 2017 21:19:40 +0000 (14:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 17 Mar 2017 21:25:04 +0000 (14:25 -0700)
commit47e6fb4212d09f325c0847d05985dd3d71553095
tree2f5b2ad5907a0f37fddd518469d144c3d451327d
parente7348396c6d51b57c95c6646c390cd078e038e19
Input: ALPS - fix trackstick button handling on V8 devices

Alps stick devices always have physical buttons, so we should not check
ALPS_BUTTONPAD flag to decide whether we should report them.

Fixes: 4777ac220c43 ("Input: ALPS - add touchstick support for SS5 hardware")
Signed-off-by: Masaki Ota <masaki.ota@jp.alps.com>
Acked-by: Pali Rohar <pali.rohar@gmail.com>
Tested-by: Paul Donohue <linux-kernel@PaulSD.com>
Tested-by: Nick Fletcher <nick.m.fletcher@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c