diff options
| author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2024-04-10 12:58:44 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-04-22 11:41:04 +0200 |
| commit | f2bf6cd8f44781349620e30a0af8987fe9af008f (patch) | |
| tree | d2e790e3e5ba190e185271f00054f3870f12ef46 /tools/perf/scripts/python | |
| parent | ad79c9ecea5baa7b4f19677e4b1c881ed89b0c3b (diff) | |
| download | linux-f2bf6cd8f44781349620e30a0af8987fe9af008f.tar.gz linux-f2bf6cd8f44781349620e30a0af8987fe9af008f.zip | |
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: b6e10ff6c23d ("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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
