Input: trackpoint - add new trackpoint firmware ID
authorAaron Ma <aaron.ma@canonical.com>
Fri, 18 Aug 2017 19:17:21 +0000 (12:17 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Aug 2017 00:04:11 +0000 (17:04 -0700)
commitec667683c532c93fb41e100e5d61a518971060e2
treefaa3f0b351f1fd183a0a434c2c12c3338229c61a
parent1d2226e45040ed4aee95b633cbd64702bf7fc2a1
Input: trackpoint - add new trackpoint firmware ID

Synaptics add new TP firmware ID: 0x2 and 0x3, for now both lower 2 bits
are indicated as TP. Change the constant to bitwise values.

This makes trackpoint to be recognized on Lenovo Carbon X1 Gen5 instead
of it being identified as "PS/2 Generic Mouse".

Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/trackpoint.c
drivers/input/mouse/trackpoint.h