linux/drivers/media
Evgeny Novikov 69a10678e2 media: dvb-frontends: mn88443x: Handle errors of clk_prepare_enable()
mn88443x_cmn_power_on() did not handle possible errors of
clk_prepare_enable() and always finished successfully so that its caller
mn88443x_probe() did not care about failed preparing/enabling of clocks
as well.

Add missed error handling in both mn88443x_cmn_power_on() and
mn88443x_probe(). This required to change the return value of the former
from "void" to "int".

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

Fixes: 0f408ce894 ("media: dvb-frontends: add Socionext MN88443x ISDB-S/T demodulator driver")
Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Co-developed-by: Kirill Shilimanov <kirill.shilimanov@huawei.com>
Signed-off-by: Kirill Shilimanov <kirill.shilimanov@huawei.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-10-08 13:53:30 +02:00
..
cec media: CEC: keep related menu entries together 2021-10-05 09:39:32 +02:00
common media: videobuf2: handle non-contiguous DMA allocations 2021-09-30 10:07:57 +02:00
dvb-core media: videobuf2: add queue memory coherency parameter 2021-09-30 10:07:57 +02:00
dvb-frontends media: dvb-frontends: mn88443x: Handle errors of clk_prepare_enable() 2021-10-08 13:53:30 +02:00
firewire media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 2021-09-30 10:07:54 +02:00
i2c media: ov5670: Add implementation for events 2021-10-08 13:42:26 +02:00
mc media: Request API is no longer experimental 2021-09-30 10:07:55 +02:00
mmc
pci media: ipu3-cio2 Check num_planes and sizes in queue_setup 2021-10-08 13:27:07 +02:00
platform media: rcar-isp: Add Renesas R-Car Image Signal Processor driver 2021-10-08 13:26:43 +02:00
radio media: si470x: Avoid card name truncation 2021-09-30 10:08:00 +02:00
rc media: ir_toy: prevent device from hanging during transmit 2021-09-30 10:10:26 +02:00
spi media: cxd2880-spi: Fix a null pointer dereference on error handling path 2021-09-30 10:07:40 +02:00
test-drivers media: vivid: fix an error code in vivid_create_instance() 2021-10-05 09:39:03 +02:00
tuners Linux 5.15-rc4 2021-10-04 07:52:13 +02:00
usb media: em28xx: Don't use ops->suspend if it is NULL 2021-10-05 09:38:18 +02:00
v4l2-core media: videobuf2: handle V4L2_MEMORY_FLAG_NON_COHERENT flag 2021-09-30 10:07:57 +02:00
Kconfig media: Correct 'so' 2021-03-22 11:52:09 +01:00
Makefile