linux/drivers/media
Tomi Valkeinen 8686230760 media: subdev: Refactor v4l2_subdev_enable/disable_streams()
Add two internal helper functions, v4l2_subdev_collect_streams() and
v4l2_subdev_set_streams_enabled(), which allows us to refactor
v4l2_subdev_enable/disable_streams() functions.

This (I think) makes the code a bit easier to read, and lets us more
easily add new functionality in the helper functions in the following
patch.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-06-04 08:31:24 +02:00
..
cec Mainly singleton patches, documented in their respective changelogs. 2024-05-19 14:02:03 -07:00
common media: siano: Use flex arrays for sms_firmware 2024-05-31 13:51:16 +02:00
dvb-core media: dvbdev: Initialize sbuf 2024-04-08 13:48:19 +02:00
dvb-frontends media: dvb-frontends: dib7000p: remove unused struct 'i2c_device' 2024-05-31 13:51:16 +02:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: i2c: imx258: Convert to new CCI register access helpers 2024-06-04 08:31:24 +02:00
mc media: mc: mark the media devnode as registered from the, start 2024-04-22 11:41:04 +02:00
mmc media: mmc: siano: simplify module initialization 2024-04-08 13:48:19 +02:00
pci media: ipu6: Rework CSI-2 sub-device streaming control 2024-06-04 08:31:24 +02:00
platform media: tegra-vde: remove unused struct 'tegra_vde_h264_frame' 2024-05-31 13:51:17 +02:00
radio media: radio-shark2: Avoid led_names truncations 2024-04-08 13:48:19 +02:00
rc media: imon: Fix race getting ictx->lock 2024-05-31 14:20:40 +02:00
spi media: gs1662: remove unused struct 'gs_reg_fmt_custom' 2024-05-31 13:51:16 +02:00
test-drivers media: v4l2: Add mem2mem helpers for REMOVE_BUFS ioctl 2024-03-25 12:00:44 +01:00
tuners media: tunner: xc5000: Refactor firmware load 2024-04-15 13:42:38 +02:00
usb media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control() 2024-05-31 14:20:40 +02:00
v4l2-core media: subdev: Refactor v4l2_subdev_enable/disable_streams() 2024-06-04 08:31:24 +02:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile