summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/sun4i-ts.c
diff options
context:
space:
mode:
authorNick Dyer <nick.dyer@itdev.co.uk>2014-07-23 23:45:49 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-07-24 01:42:11 +0400
commit8efaa5e5a95170fa126798c7a48f0747fdb29862 (patch)
treec625d942dc85eb4301221703a5f8cf7de827c32e /drivers/input/touchscreen/sun4i-ts.c
parent44a0bab2154f07d6cb7ec6d929f6875a1f768f41 (diff)
downloadlinux-8efaa5e5a95170fa126798c7a48f0747fdb29862.tar.xz
Input: atmel_mxt_ts - recover from bootloader on probe
The MXT device may be in bootloader mode on probe, due to: 1) APP CRC failure, either: a) flash corruption b) bad power or other intermittent problem while checking CRC 2) If the device has been reset 10 or more times without accessing comms 3) Warm probe, device was in bootloader mode already This code attempts to recover from 1(b) and 3. There is an additional complexity: we have to try two possible bootloader addresses because the mapping is not one-to-one and we don't know the exact model yet. Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk> Acked-by: Yufeng Shen <miletus@chromium.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/sun4i-ts.c')
0 files changed, 0 insertions, 0 deletions