From: Damjan Jovanovic on
This fixes a regression introduced in Linux 2.6.2 where mice that
sporadically produce bad parity go crazy and start jumping around and
clicking randomly, which never happens in any version of Windows
running on the same hardware. The bugzilla bug is
https://bugzilla.kernel.org/show_bug.cgi?id=6105

The patch works by always accumulating a full PS/2 packet, then
ignoring the packet if any byte had a bad checksum. A month of testing
it against an affected mouse has revealed it works perfectly in
practice.

This is the third resend, also CC'ed to lkml and Andrew Morton this
time, because the previous 2 emails to linux-input(a)vger.kernel.org and
the input/mouse maintainers from 28 March 2010 were ignored.

Regards
Damjan Jovanovic

Signed-off-by: Damjan Jovanovic <damjan.jov(a)gmail.com>