diff options
author | Peter Osterlund <petero2@telia.com> | 2007-03-16 07:58:37 +0300 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-03-16 07:58:37 +0300 |
commit | 867d2682e92a3999e3862f1679cfcb549142d776 (patch) | |
tree | 0e58a245bb102ec8a5d5f7485a8cf332c51d2ad6 /drivers/input/keyboard/pxa27x_keyboard.c | |
parent | 54f9e36cb83e7da17dc0596d365fe019a25c226f (diff) | |
download | linux-867d2682e92a3999e3862f1679cfcb549142d776.tar.xz |
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 <petero2@telia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/keyboard/pxa27x_keyboard.c')
0 files changed, 0 insertions, 0 deletions