Input: atmel_mxt_ts - add additional bootloader addresses
authorNick Dyer <nick.dyer@itdev.co.uk>
Mon, 19 May 2014 06:10:49 +0000 (23:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 19 May 2014 06:27:27 +0000 (23:27 -0700)
commitf28a842db6fc25d5ac53d70a9608d38d7a9dcd3a
treeb7f05212f4cfd2849541af55584f82dd0f86a580
parentc3f78043d5aea39205a14c580babd87fbdcfa148
Input: atmel_mxt_ts - add additional bootloader addresses

Move bootloaders reads/writes into separate functions. Instead of switching
client->addr, define new field bootloader_addr in mxt_data. Implement
lookup calculation for bootloader addresses.

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