Message ID | 20220310095202.2701399-2-eugen.hristev@microchip.com |
---|---|
State | Accepted |
Commit | e0cf8b9e3a52116905ff15cf9d0e68728da1542c |
Headers | show |
Series | [v9,01/13] media: atmel: atmel-isc-base: use streaming status when queueing buffers | expand |
diff --git a/drivers/media/platform/atmel/atmel-isc-base.c b/drivers/media/platform/atmel/atmel-isc-base.c index db15770d5b88..d2cc6c99984f 100644 --- a/drivers/media/platform/atmel/atmel-isc-base.c +++ b/drivers/media/platform/atmel/atmel-isc-base.c @@ -442,7 +442,7 @@ static void isc_buffer_queue(struct vb2_buffer *vb) spin_lock_irqsave(&isc->dma_queue_lock, flags); if (!isc->cur_frm && list_empty(&isc->dma_queue) && - vb2_is_streaming(vb->vb2_queue)) { + vb2_start_streaming_called(vb->vb2_queue)) { isc->cur_frm = buf; isc_start_dma(isc); } else