[PATCH 7/11] input: Fix psmouse->pktcnt in Synaptics mode

From: Vojtech Pavlik
Date: Fri Sep 19 2003 - 05:33:49 EST


You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input

===================================================================

ChangeSet@xxxxxx, 2003-09-19 01:20:33-07:00, vojtech@xxxxxxx
psmouse-base.c:
Make sure psmouse->pktcnt is zero after passing a byte
to be processed by synaptics code.


psmouse-base.c | 1 +
1 files changed, 1 insertion(+)

===================================================================

diff -Nru a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
--- a/drivers/input/mouse/psmouse-base.c Fri Sep 19 12:16:08 2003
+++ b/drivers/input/mouse/psmouse-base.c Fri Sep 19 12:16:08 2003
@@ -173,6 +173,7 @@
* so it needs to receive all bytes one at a time.
*/
synaptics_process_byte(psmouse, regs);
+ psmouse->pktcnt = 0;
goto out;
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/