diff options
| author | Nick Dyer <nick.dyer@itdev.co.uk> | 2013-07-06 22:19:04 -0700 | 
|---|---|---|
| committer | Nick Dyer <nick.dyer@itdev.co.uk> | 2014-07-04 14:24:48 +0100 | 
| commit | 85c876cdf5c9c003ae764d88f01a71fca7c99ca1 (patch) | |
| tree | bf901f209befe280449ca315d006a003b4c4982e /include/linux | |
| parent | 61cadc58c3f1a5c8594c906f791e7aa2a6323fb7 (diff) | |
| download | olio-linux-3.10-85c876cdf5c9c003ae764d88f01a71fca7c99ca1.tar.xz olio-linux-3.10-85c876cdf5c9c003ae764d88f01a71fca7c99ca1.zip  | |
Input: atmel_mxt_ts - implement CRC check for configuration data
The configuration is stored in NVRAM on the maXTouch chip. When the device
is reset it reports a CRC of the stored configuration values. Therefore it
isn't necessary to send the configuration on each probe - we can check the
CRC matches and avoid a timeconsuming backup/reset cycle.
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/i2c/atmel_mxt_ts.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c/atmel_mxt_ts.h b/include/linux/i2c/atmel_mxt_ts.h index d26080dc606..9f92135b662 100644 --- a/include/linux/i2c/atmel_mxt_ts.h +++ b/include/linux/i2c/atmel_mxt_ts.h @@ -29,6 +29,7 @@  struct mxt_platform_data {  	const u8 *config;  	size_t config_length; +	u32 config_crc;  	unsigned int x_size;  	unsigned int y_size;  |