media: ti-vpe: cal: Remove DMA queue empty check at start streaming time
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 6 Dec 2020 23:53:47 +0000 (00:53 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 4 Jan 2021 11:06:57 +0000 (12:06 +0100)
commitd7d24d772f2c56e32ce8beb1a05a04fe28e4d888
tree8460a14f859e8265c3b3fcdb2fd25f9c2879f9af
parent455466400c4164c14756113405fa5e00dea399a4
media: ti-vpe: cal: Remove DMA queue empty check at start streaming time

The vb2 queue ensures that the start streaming operation will only be
called with a minimal number of buffers queued to the driver. There's
thus no need to manually check if the DMA queue is empty. Remove the
check.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/ti-vpe/cal-video.c