aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMoudy Ho <[email protected]>2022-10-20 15:17:59 +0800
committerHans Verkuil <[email protected]>2022-11-04 16:56:30 +0100
commit74a596e7fca6d240d61def5f448e55c256c12fed (patch)
tree1ae60304560235f8747824141a4f41b129338f30 /tools/perf/scripts/python
parent64e0a0804b1a7a77ee364f44ffa6a8e0e7b157d2 (diff)
media: platform: mtk-mdp3: fix error handling about components clock_on
Add goto statement in mdp_comp_clock_on() to avoid error code not being propagated or returning positive values. This change also performs a well-timed clock_off when an error occurs, and reduces unnecessary error logging in mdp_cmdq_send(). Fixes: 61890ccaefaf ("media: platform: mtk-mdp3: add MediaTek MDP3 driver") Signed-off-by: Moudy Ho <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions