Re: [PATCH] media: sun8i: Fix an error handling path in 'deinterlace_runtime_resume()'

From: Chen-Yu Tsai
Date: Tue May 05 2020 - 03:52:45 EST


On Tue, May 5, 2020 at 3:50 PM Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> wrote:
>
> It is spurious to call 'clk_disable_unprepare()' when
> 'clk_prepare_enable()' has not been called yet.
> Re-order the error handling path to avoid it.
>
> Fixes: a4260ea49547 ("media: sun4i: Add H3 deinterlace driver")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Acked-by: Chen-Yu Tsai <wens@xxxxxxxx>