diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-05-05 10:50:34 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-05 18:26:26 +0300 |
commit | 62eedb356188376acd0368384a9b294d5180c00b (patch) | |
tree | 43cfcd011d9d2b90bdb318bbe1ae26d58bb97681 /drivers/media/cec | |
parent | f4d12d8009d9e9917859c6a4291d49c6e70e92c1 (diff) | |
download | linux-62eedb356188376acd0368384a9b294d5180c00b.tar.xz |
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: a4260ea49547 ("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>
Diffstat (limited to 'drivers/media/cec')
0 files changed, 0 insertions, 0 deletions