media: st_rc: Handle errors of clk_prepare_enable()
authorEvgeny Novikov <novikov@ispras.ru>
Tue, 1 Jun 2021 12:56:43 +0000 (14:56 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jun 2021 13:55:55 +0000 (15:55 +0200)
commit04297b00dfb45277b8b661d48a7a5e29876fc6ae
treeaa73c43544cbdd7cdefcdc4fd64ddfbdd726f951
parentda9a805b1249be685c2bee110eb1260d610bd5d0
media: st_rc: Handle errors of clk_prepare_enable()

Hadle errors of clk_prepare_enable() in st_rc_hardware_init() and its
callers.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/rc/st_rc.c