diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2020-05-09 21:05:36 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-05-09 23:39:36 +0200 |
commit | f4ee52f3ad8c9210030a9fe48bbb74dbc7c9f90e (patch) | |
tree | 2cf8f2c6df0cdb0a9fca8717b6b371cf74ec3fe8 /drivers/input/touchscreen/tsc40.c | |
parent | Input: edt-ft5x06 - fix get_default register write access (diff) | |
download | linux-f4ee52f3ad8c9210030a9fe48bbb74dbc7c9f90e.tar.xz linux-f4ee52f3ad8c9210030a9fe48bbb74dbc7c9f90e.zip |
Input: edt-ft5x06 - move parameter restore into helper
We need to restore the parameters if we switch between the
factory/work mode and during the resume process if we switched off the
power-supply. Therefore refactor edt_ft5x06_work_mode() and move the
"restore the parameters" into a helper routine so we can reuse it later.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Link: https://lore.kernel.org/r/20200227112819.16754-3-m.felsch@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/tsc40.c')
0 files changed, 0 insertions, 0 deletions