linux/drivers/media
Jia-Ju Bai f3d384e366 media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()
When sun6i_video_remote_subdev() returns NULL to subdev, no error return
code of sun6i_video_start_streaming() is assigned.
To fix this bug, ret is assigned with -EINVAL in this case.

Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Fixes: 5cc7522d89 ("media: sun6i: Add support for Allwinner CSI V3s")
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-03-22 10:20:35 +01:00
..
cec media: cec-notifier: also search for HDMI devices on I2C 2021-03-11 11:59:44 +01:00
common media: b2c2: remove trailing semicolon in macro definition 2021-03-11 11:59:45 +01:00
dvb-core media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
dvb-frontends media: drxj: remove redundant assignments to variable image_to_select 2021-03-11 11:59:46 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: i2c: adv7511: remove open coded version of SMBus block read 2021-03-11 11:59:45 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: ngene: switch from 'pci_' to 'dma_' API 2021-03-11 11:59:46 +01:00
platform media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming() 2021-03-22 10:20:35 +01:00
radio media: use getter/setter functions 2021-03-11 11:59:42 +01:00
rc media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
spi media: use getter/setter functions 2021-03-11 11:59:42 +01:00
test-drivers media: vidtv: remove duplicate include in vidtv_psi 2021-03-22 10:20:02 +01:00
tuners media: fix incorrect kernel doc usages 2021-03-11 11:59:44 +01:00
usb media: flexcop-usb: delete unneeded return 2021-03-22 10:20:16 +01:00
v4l2-core media: uapi: move VP8 stateless controls out of staging 2021-03-22 09:52:12 +01:00
Kconfig media: Remove superfluous dependency for MEDIA_SUPPORT_FILTER 2020-11-27 12:19:25 +01:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00