Input: elo - fix checksum calculation
authorShaun Jackman <sjackman@gmail.com>
Sat, 5 Aug 2006 04:27:59 +0000 (00:27 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Sat, 5 Aug 2006 04:27:59 +0000 (00:27 -0400)
commit1ce316efb55a1497d07d518853e60a4356abceb6
tree5b80f90e5ddc7ff36b1ce30bdbf796d8741d7bc2
parent6b50d8b862284929314e9ff09e5b1cce2c43d32b
Input: elo - fix checksum calculation

Fix 10-byte protocol checksum calculation and do not discard packet early
unless it is missing lead in byte.

Signed-off-by: Shaun Jackman <sjackman@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/elo.c