media: v4l: cadence: Handle errors of clk_prepare_enable()
authorEvgeny Novikov <novikov@ispras.ru>
Mon, 17 May 2021 12:49:18 +0000 (14:49 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 2 Jun 2021 11:34:38 +0000 (13:34 +0200)
commite6001f6922cfda7b76f594595ebb38351c313da2
tree557980a9dbccf4dbc987a43ab3a7219d793a6c8f
parent8610b3a2abfd0a043df91ac2754a406d7d42b207
media: v4l: cadence: Handle errors of clk_prepare_enable()

Handle errors of clk_prepare_enable() in csi2tx_get_resources().

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/platform/cadence/cdns-csi2tx.c