aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-09-20 21:08:26 -0700
committerDmitry Torokhov <[email protected]>2021-09-20 22:00:25 -0700
commit209bda4741f68f102cf2f272227bfc938e387b51 (patch)
treea31a15b283b3506eef65c1cf8e783c2a8dfeee6c /tools/perf/scripts/python
parenta2233cb7b65a017067e2f2703375ecc930a0ab30 (diff)
Input: goodix - refactor reset handling
Refactor reset handling a bit, change the main reset handler into a new goodix_reset_no_int_sync() helper and add a goodix_reset() wrapper which calls goodix_int_sync() separately. Also push the dev_err() call on reset failure into the goodix_reset_no_int_sync() and goodix_int_sync() functions, so that we don't need to have separate dev_err() calls in all their callers. This is a preparation patch for adding support for controllers without flash, which need to have their firmware uploaded and need some other special handling too. Reviewed-by: Bastien Nocera <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions