[media] coda: keep buffers on the queue in bitstream end mode
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 9 Jul 2015 10:10:15 +0000 (07:10 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 14:14:00 +0000 (11:14 -0300)
commit30a09579b2e238646bca4e7cc443db24d91436d6
treef86f80d9d5be4522d68b847908e55312bbe30c17
parent58bc7edf1d9a16073761031a03291af887ccdf66
[media] coda: keep buffers on the queue in bitstream end mode

In stream end mode the hardware will read the bitstream to its end,
overshooting the write pointer. Do not write additional data into
the bitstream in this mode.

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@osg.samsung.com>
drivers/media/platform/coda/coda-bit.c