linux/drivers/staging/media
Hans de Goede ac058bd815 media: atomisp: Only set default_run_mode on first open of a stream/asd
[ Upstream commit 60ec70a71a ]

Calling v4l2_ctrl_s_ctrl(asd->run_mode, pipe->default_run_mode) when
the stream is already active (through another /dev/video# node) causes
the stream to stop.

Move the call to set the default run-mode so that it is only done
on the first open of one of the 4 /dev/video# nodes of one of
the 2 streams (atomisp-sub-devices / asd-s).

Fixes: 2c45e343c5 ("media: atomisp: set per-device's default mode")
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-03-10 09:29:03 +01:00
..
atomisp media: atomisp: Only set default_run_mode on first open of a stream/asd 2023-03-10 09:29:03 +01:00
deprecated media: staging: stkwebcam: Restore MEDIA_{USB,CAMERA}_SUPPORT dependencies 2022-12-07 17:58:47 +01:00
imx media: imx: remove code for non-existing config IMX_GPT_ICAP 2022-12-07 17:58:47 +01:00
ipu3 ipu3-imgu: Fix NULL pointer dereference in imgu_subdev_set_selection() 2022-10-25 10:37:02 +03:00
max96712 i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
meson/vdec media: staging: media: meson: vdec: use min() for comparison and assignment 2022-11-25 07:32:49 +00:00
omap4iss drivers: staging: media: omap4iss: Use BIT macro instead of left shifting 2022-12-07 17:58:46 +01:00
rkvdec media: rkvdec: Add required padding 2022-11-04 16:56:42 +01:00
sunxi media: sun6i-isp: params: Unregister pending buffer on cleanup 2022-12-14 18:12:32 +00:00
tegra-video media: staging: media: tegra-video: Replace custom implementation of device_match_fwnode() 2022-11-25 06:44:47 +00:00
Kconfig media: atmel: atmel-isc: move to staging 2022-11-25 07:48:31 +00:00
Makefile media: atmel: atmel-isc: move to staging 2022-11-25 07:48:31 +00:00