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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2017 07:41:22 +0000 (09:41 +0200)
commit4ccef6bd3a0212f0172428afe7ad4aa3b3601dbf
treee21bd35ef7da4474020762bd44fba137196639e9
parent81643d000315229e5ff13cff943a69da9ab92a80
Input: ALPS - fix trackstick button handling on V8 devices

commit 47e6fb4212d09f325c0847d05985dd3d71553095 upstream.

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>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/mouse/alps.c