From: Peter Osterlund Date: Fri, 16 Mar 2007 04:58:37 +0000 (-0400) Subject: Input: sermouse - improve protocol error recovery X-Git-Tag: v2.6.22-rc1~1037^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=867d2682e92a3999e3862f1679cfcb549142d776;p=pandora-kernel.git Input: sermouse - improve protocol error recovery When using MS protocol the driver should wait for a byte with bit 6 set before assuming that it sees beginning of a data packet. This should allow driver better cope with lost bytes and prevent spurious left/right button events when serial communication is disturbed by a CPU-hungry real-time process. Also fix some formatting. Signed-off-by: Peter Osterlund Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed