acrn-kernel/drivers/media/platform/sunxi
Christophe JAILLET 62eedb3561 media: sun8i: Fix an error handling path in 'deinterlace_runtime_resume()'
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: a4260ea495 ("media: sun4i: Add H3 deinterlace driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: err_exlusive_rate -> err_exclusive_rate]
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-05-05 17:26:26 +02:00
..
sun4i-csi media: Kconfig files: use select for V4L2 subdevs and MC 2020-04-14 10:29:05 +02:00
sun6i-csi media: Kconfig files: use select for V4L2 subdevs and MC 2020-04-14 10:29:05 +02:00
sun8i-di media: sun8i: Fix an error handling path in 'deinterlace_runtime_resume()' 2020-05-05 17:26:26 +02:00
sun8i-rotate
Kconfig
Makefile