]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ALPS - renumber protocol numbers
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 Jan 2015 04:53:22 +0000 (20:53 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 15 Feb 2015 23:44:16 +0000 (15:44 -0800)
commit45e403a6cc946e9480c52d43aa7be5c87a0a7d11
tree0d8ae1f1c43d8d0d21dfb4b09d7c1911f8fc39fb
parent8790fdcb2d0e6c1688193caa7dc18a13719065fa
Input: ALPS - renumber protocol numbers

In order to accommodate new protocol number for Rushmore touchpads
let's shift protocol numbers by 8 bits (i.e. 1 -> 0x100) - this way
we keep protocol version reported in input device id the same as it
was, but add some holes in numbering.

Tested-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c
drivers/input/mouse/alps.h