Input: elantech - packet checking for v2 hardware
authorJJ Ding <jj_ding@emc.com.tw>
Fri, 9 Sep 2011 17:28:04 +0000 (10:28 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 9 Sep 2011 17:34:50 +0000 (10:34 -0700)
commit7894f21b109848130be7547448af89dc33d0f268
tree430abd74d0ffc9006fd2bdf350418482378fe043
parent8a360d09b14514139b883d970cd3a1b0b63e6717
Input: elantech - packet checking for v2 hardware

For v2 hardware, there is no real parity check, but we can still check
some constant bits for data integrity.

Also rename elantech_check_parity_v1 to elantech_packet_check_v1 to make
these packet checking function names consistent.

Signed-off-by: JJ Ding <jj_ding@emc.com.tw>
Acked-by: Daniel Kurtz <djkurtz@chromium.org>
Acked-by: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/elantech.c