summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMoudy Ho <moudy.ho@mediatek.com>2022-10-20 15:17:59 +0800
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2022-11-04 16:56:30 +0100
commit74a596e7fca6d240d61def5f448e55c256c12fed (patch)
tree1ae60304560235f8747824141a4f41b129338f30 /include
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 <moudy.ho@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions