[media] coda: delay coda_fill_bitstream()
authorMichael Olbrich <m.olbrich@pengutronix.de>
Fri, 18 Jul 2014 10:22:40 +0000 (07:22 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:19 +0000 (15:25 -0500)
commiteabed931dfc3f47f78b93fb49013af6da66682af
tree548a8822777e9d1344d44a92c0ba12014b073671
parent390503bdb49139e83a0cbfd25a31c5fa36db5ca3
[media] coda: delay coda_fill_bitstream()

coda_fill_bitstream() calls v4l2_m2m_buf_done() which is no longer allowed
before streaming was started.
Delay coda_fill_bitstream() until coda_start_streaming() and explicitly set
'start_streaming_called' before calling coda_fill_bitstream()

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda.c