aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2021-04-23 16:54:25 +0200
committerMauro Carvalho Chehab <[email protected]>2021-05-10 11:36:33 +0200
commite7c617cab7a522fba5b20f9033ee98565b6f3546 (patch)
treefe793671bc6b0bcb82dab923ebdb4e6cca30b4fe /tools/perf/scripts/python
parent892bb6ecead9b834ba7ad1d07513e9eba1baa3a4 (diff)
media: marvel-ccic: fix some issues when getting pm_runtime
Calling pm_runtime_get_sync() is bad, since even when it returns an error, pm_runtime_put*() should be called. So, use instead pm_runtime_resume_and_get(). While here, ensure that the error condition will be checked during clock enable an media open() calls. Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions