aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/input-polldev.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2018-01-05 13:28:47 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-01-22 16:24:36 -0800
commit2a924d71794c530e55e73d0ce2cc77233307eaa9 (patch)
treea0d4842432ed789c6dff8b4e4e6493cb984f83e3 /drivers/input/input-polldev.c
parentInput: trackpoint - force 3 buttons if 0 button is reported (diff)
downloadlinux-dev-2a924d71794c530e55e73d0ce2cc77233307eaa9.tar.xz
linux-dev-2a924d71794c530e55e73d0ce2cc77233307eaa9.zip
Input: trackpoint - only expose supported controls for Elan, ALPS and NXP
The newer trackpoints from ALPS, Elan and NXP implement a very limited subset of extended commands and controls that the original trackpoints implemented, so we should not be exposing not working controls in sysfs. The newer trackpoints also do not implement "Power On Reset" or "Read Extended Button Status", so we should not be using these commands during initialization. While we are at it, let's change "unsigned char" to u8 for byte data or bool for booleans and use better suited error codes instead of -1. Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/input-polldev.c')
0 files changed, 0 insertions, 0 deletions