aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2018-05-09 16:24:35 -0400
committerMauro Carvalho Chehab <[email protected]>2018-05-17 06:22:08 -0400
commit28d42d2fcaad68fa81a328adfb027323796e5f6e (patch)
tree09aaf3ea0df607b073cdd6b74b8b93ea408f61f0 /tools/perf/scripts/python/call-graph-from-sql.py
parent844ef042491d2824d5ed8dc5f75b5f539487f82c (diff)
media: cadence: csi2rx: Fix csi2rx_start error handling
The clocks enabled by csi2rx_start function are intended to be disabled in an error path but there are two issues: 1) the loop condition is always true and 2) the first clock disabled is the the one enabling of which failed. Fix these two bugs by changing the loop condition as well as only disabling the clocks that were actually enabled. Reported-by: Mauro Chehab <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions