]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerTim Gardner <tim.gardner@canonical.com>
Thu, 30 Mar 2017 12:35:45 +0000 (06:35 -0600)
commit7f3298f839c19dcd53138ef989734e3dbb1bc401
treece9907541d4449bc97f8cdd3c0d3f57999e3ab23
parent697bbb362520629c612b3c8374b37aa2666f5631
Input: ALPS - fix trackstick button handling on V8 devices

BugLink: http://bugs.launchpad.net/bugs/1677589
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/input/mouse/alps.c