diff options
author | Jeff LaBundy <jeff@labundy.com> | 2021-01-25 07:29:38 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-01-25 07:49:05 +0300 |
commit | e10ba0d3c042161a26311d43bd37c3634d7bc5ca (patch) | |
tree | dfe140f44853bcf8cfff52a81f661cf5bd238cbc /drivers/input/touchscreen/sun4i-ts.c | |
parent | 1302c71a30615226838f3583028d122f6792d720 (diff) | |
download | linux-e10ba0d3c042161a26311d43bd37c3634d7bc5ca.tar.xz |
Input: iqs5xx - re-initialize device upon warm reset
The device may be inadvertently reset during runtime in the event
of ESD strike, etc. To protect against this case, acknowledge the
SHOW_RESET interrupt and re-initialize the device.
To facilitate this change, expand the range of registers that are
read in the interrupt handler to include the system status fields.
Also, update the unrelated (but nearby) SUSPEND register field to
use the BIT() macro. The remaining register fields are cleaned up
in another patch.
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/1611002626-5889-6-git-send-email-jeff@labundy.com
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