Input: atmel_mxt_ts - calculate and check CRC in config file
authorNick Dyer <nick.dyer@itdev.co.uk>
Wed, 23 Jul 2014 19:40:09 +0000 (12:40 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 Jul 2014 21:42:08 +0000 (14:42 -0700)
commit4ce6fa017f48e892cc3465caa7fbb3dead5a6ca6
treedf6ee6662152f8adc047ab675c61f042140ee629
parent50a77c658b80e7e3303e3bcec195b30e2b62d513
Input: atmel_mxt_ts - calculate and check CRC in config file

By validating the checksum, we can identify if the configuration is
corrupt.  In addition, this patch writes the configuration in a short
series of block writes rather than as many individual values.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Acked-by: Benson Leung <bleung@chromium.org>
Acked-by: Yufeng Shen <miletus@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c