Input: synaptics - fix setting packet size on passthrough port.
authorSergey Vlasov <vsu@altlinux.ru>
Sun, 24 Jul 2005 05:53:32 +0000 (00:53 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Sun, 24 Jul 2005 05:53:32 +0000 (00:53 -0500)
commit33fdfa97f2b3aab698ef849ec50dcc5102017f0a
treebb0e672f87d4af1f196106cd69cbcdb83f75fc09
parent5ac7ba3ff599d66ffde182676f2e4fbcac61a2fe
Input: synaptics - fix setting packet size on passthrough port.

Synaptics driver used child->type to select either 3-byte or 4-byte
packet size for the pass-through port; this gives wrong results for
the newer protocols. Change the check to use child->pktsize instead.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/synaptics.c