diff options
author | Tomi Valkeinen <[email protected]> | 2024-04-24 18:39:10 +0300 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-06-04 08:31:24 +0200 |
commit | 585d8fd5ebb9a946dc5c4931e77f6f6cefbdd501 (patch) | |
tree | 364bd9a0a70966e33750c03647afbb6dd9cc18f6 /tools/perf/scripts/python/syscall-counts.py | |
parent | 5f3ce14fae742d1d23061c3122d93edb879ebf53 (diff) |
media: subdev: Support privacy led in v4l2_subdev_enable/disable_streams()
We support camera privacy leds with the .s_stream() operation, in
call_s_stream(), but we don't have that support when the subdevice
implements .enable/disable_streams() operations.
Add the support by enabling the led when the first stream for a
subdevice is enabled, and disabling the led then the last stream is
disabled.
Reviewed-by: Umang Jain <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Tested-by: Umang Jain <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions