aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2022-09-12 15:20:40 +0200
committerWolfram Sang <[email protected]>2022-09-16 20:37:50 +0100
commit085aacaa73163f4b8a89dec24ecb32cfacd34017 (patch)
treef77c33a36d78bd9ad79a6eb7d8797d96aa1f9410 /tools/perf/util/trace-event-scripting.c
parent80e78fcce86de0288793a0ef0f6acf37656ee4cf (diff)
i2c: imx: If pm_runtime_get_sync() returned 1 device access is possible
pm_runtime_get_sync() returning 1 also means the device is powered. So resetting the chip registers in .remove() is possible and should be done. Reported-by: Dan Carpenter <[email protected]> Fixes: d98bdd3a5b50 ("i2c: imx: Make sure to unregister adapter on remove()") Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Oleksij Rempel <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions