]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: ipu6: Remove redundant streaming start via buffer queueing
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 30 Oct 2025 10:01:48 +0000 (12:01 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 11:47:56 +0000 (12:47 +0100)
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>
drivers/media/pci/intel/ipu6/ipu6-isys-queue.c

index 8f05987cdb4e75b468fe1be6da0c9990f719ac01..fdf41b3cf60ea5047403f3124f89b964f11c7721 100644 (file)
@@ -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