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)
commitb46615fe9215214ac00e26d35fc54dbe1c510803
treedf6115091e069aa05125b822554ef05e8b839aa5
parentfa629ef5222193214da9a2b3c94369f79353bec9
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