]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ALPS - remove assumptions about packet size
authorSeth Forshee <seth.forshee@canonical.com>
Tue, 8 Nov 2011 03:53:30 +0000 (19:53 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 8 Nov 2011 06:22:10 +0000 (22:22 -0800)
commit2293f581ab8b71090e3115ee7d64af1ce33378ac
treedf6115091e069aa05125b822554ef05e8b839aa5
parentd15acf659ac9aff3c4e33ab5b24bd18c303848cc
Input: ALPS - remove assumptions about packet size

In preparation for version 4 protocol support, which has 8-byte
data packets, remove all hard-coded assumptions about packet size
and use psmouse->pktsize instead.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/alps.c