linux/drivers/media/v4l2-core
Sakari Ailus f2bf6cd8f4 media: v4l: Don't turn on privacy LED if streamon fails
Turn on the privacy LED only if streamon succeeds. This can be done after
enabling streaming on the sensor.

Fixes: b6e10ff6c2 ("media: v4l2-core: Make the v4l2-core code enable/disable the privacy LED if present")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-04-22 11:41:04 +02:00
..
Kconfig media: remove the old videobuf framework 2023-09-27 09:40:01 +02:00
Makefile media: remove the old videobuf framework 2023-09-27 09:40:01 +02:00
tuner-core.c
v4l2-async.c media: v4l: async: Properly re-initialise notifier entry in unregister 2024-04-10 15:15:30 +02:00
v4l2-cci.c media: v4l2: cci: print leading 0 on error 2024-02-01 13:35:34 +01:00
v4l2-common.c media: v4l2-common: Add Y210 and Y216 format info 2024-04-08 13:48:19 +02:00
v4l2-compat-ioctl32.c media: core: Report the maximum possible number of buffers for the queue 2023-11-23 12:38:05 +01:00
v4l2-ctrls-api.c media: v4l2-ctrls-core.c: Do not use iterator outside loop 2024-04-15 13:42:39 +02:00
v4l2-ctrls-core.c media: v4l2-ctrls: add support for area type logging 2024-04-08 13:48:18 +02:00
v4l2-ctrls-defs.c
v4l2-ctrls-priv.h
v4l2-ctrls-request.c
v4l2-dev.c media: v4l2: Add REMOVE_BUFS ioctl 2024-03-25 12:00:44 +01:00
v4l2-device.c
v4l2-dv-timings.c
v4l2-event.c media: v4l2-event: Annotate struct v4l2_subscribed_event with __counted_by 2023-10-07 10:55:45 +02:00
v4l2-fh.c
v4l2-flash-led-class.c
v4l2-fwnode.c media: v4l: fwnode: Parse MIPI DisCo for Imaging properties 2023-12-04 10:37:47 +01:00
v4l2-h264.c
v4l2-i2c.c
v4l2-ioctl.c media: v4l2: Add REMOVE_BUFS ioctl 2024-03-25 12:00:44 +01:00
v4l2-jpeg.c
v4l2-mc.c media: v4l2-mc: Add debug prints for v4l2_fwnode_create_links_for_pad() 2024-01-22 17:23:59 +01:00
v4l2-mem2mem.c media: v4l2: Add mem2mem helpers for REMOVE_BUFS ioctl 2024-03-25 12:00:44 +01:00
v4l2-spi.c media: v4l2-subdev: Follow renaming of SPI "master" to "controller" 2024-02-08 11:54:42 +00:00
v4l2-subdev-priv.h
v4l2-subdev.c media: v4l: Don't turn on privacy LED if streamon fails 2024-04-22 11:41:04 +02:00
v4l2-trace.c
v4l2-vp9.c