media: tegra-cec: Handle errors of clk_prepare_enable()
authorEvgeny Novikov <novikov@ispras.ru>
Wed, 28 Jul 2021 14:44:32 +0000 (16:44 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 4 Aug 2021 12:43:52 +0000 (14:43 +0200)
commit38367073c796a37a61549b1f66a71b3adb03802d
treea4c753d25918cd6e4f52cb3bf3474d2616200c5c
parentc8b263937c489ec536193bbe48d810118a387e12
media: tegra-cec: Handle errors of clk_prepare_enable()

tegra_cec_probe() and tegra_cec_resume() ignored possible errors of
clk_prepare_enable(). The patch fixes this.

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

Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/cec/platform/tegra/tegra_cec.c