mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-21 11:25:22 -04:00
media: ipu6: Remove redundant streaming start via buffer queueing
The videobuf2 framework will ensure buffers are queued before streaming is started. Remove support for starting streaming via the buf_queue() callback. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Tested-by: Mehdi Djait <mehdi.djait@linux.intel.com> # Dell XPS 9315 Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
committed by
Hans Verkuil
parent
e5af254e44
commit
b008748368
@@ -408,13 +408,6 @@ static void buf_queue(struct vb2_buffer *vb)
|
||||
ipu6_isys_buf_to_fw_frame_buf(buf, stream, &bl);
|
||||
ipu6_fw_isys_dump_frame_buff_set(dev, buf, stream->nr_output_pins);
|
||||
|
||||
if (!stream->streaming) {
|
||||
ret = ipu6_isys_stream_start(av, &bl, true);
|
||||
if (ret)
|
||||
dev_err(dev, "stream start failed.\n");
|
||||
goto out;
|
||||
}
|
||||
|
||||
/*
|
||||
* We must queue the buffers in the buffer list to the
|
||||
* appropriate video buffer queues BEFORE passing them to the
|
||||
|
||||
Reference in New Issue
Block a user