diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-20 02:24:31 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-06-27 13:06:47 +0200 |
commit | 7b9b9306cba0d60c6e8551366fba3bbbffb929e1 (patch) | |
tree | c59c267d07ce3af26aa27948ca03d3c4eaea9945 /tools/perf/scripts/python/parallel-perf.py | |
parent | 40f8c2bfa616ed486af5b9e9d14248e4172a5bdc (diff) |
media: imx-mipi-csis: Use v4l2_subdev_enable_streams()
To support sources that implement the .enable_streams() and
.disable_streams() operations, replace the manual calls to the subdev
.s_stream() operation with the v4l2_subdev_enable_streams() and
v4l2_subdev_disable_streams() helpers. The helpers fall back to
.s_stream() if the source doesn't implement the new operations, so
backward compatibility is preserved.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions