Messages in this thread | | | Date | Mon, 3 Oct 2022 14:37:19 +0200 | Subject | Re: [PATCH v2 2/2] media: platform: mtk-mdp3: fix error handling about components clock_on | From | AngeloGioacchino Del Regno <> |
| |
Il 03/10/22 09:08, Moudy Ho ha scritto: > 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>
| |