linux/drivers/media/platform/sunxi
Ondrej Jirman 8ed8528346 media: sun6i-csi: Allow the video device to be open multiple times
Previously it was possible, but a recent fix for uninitialized
`ret` variable broke this behavior.

v4l2_fh_is_singular_file() check is there just to determine
whether the power needs to be enabled, and it's not a failure
if it returns false.

Fixes: ba9139116b ("media: sun6i-csi: add a missing return code")
Signed-off-by: Ondrej Jirman <megous@megous.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-09-30 10:07:59 +02:00
..
sun4i-csi media: sunxi: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:52 +02:00
sun6i-csi media: sun6i-csi: Allow the video device to be open multiple times 2021-09-30 10:07:59 +02:00
sun8i-di media: sunxi: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:52 +02:00
sun8i-rotate media: sunxi: fix pm_runtime_get_sync() usage count 2021-05-10 11:36:34 +02:00
Kconfig media: add SPDX headers on Kconfig and Makefile files 2020-04-14 10:29:05 +02:00
Makefile media: add SPDX headers on Kconfig and Makefile files 2020-04-14 10:29:05 +02:00