media: coda: set min_buffers_needed
authorLucas Stach <l.stach@pengutronix.de>
Thu, 7 Dec 2017 11:09:46 +0000 (06:09 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 18 Dec 2017 19:58:39 +0000 (14:58 -0500)
commite112146f3b19e47193ca78c117b86ba0c760ebe4
treeda3ae64dfb23723181697a9365b4cf1a1a743f68
parent9392483122e8818c0bf38e82ccf01b71e0c2151e
media: coda: set min_buffers_needed

The current driver implementation expects at least one buffer on
all queues to start streaming. Properly signal this to the vb2
core, to avoid confusion when streamon is racing with qbuf.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/coda/coda-common.c