[media] coda: fix fill bitstream errors in nonstreaming case
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 24 Mar 2015 17:30:57 +0000 (14:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 10 Apr 2015 13:11:05 +0000 (10:11 -0300)
commit582d887211612c197fc8ea9435503f9b278ce76f
treed0052724c2ddb1707c521fb7afb17f3001535516
parent5c76c2c3e2783886975ff536c50d9c446e0ecb6e
[media] coda: fix fill bitstream errors in nonstreaming case

When queueing a buffer into the bitstream fails, it has to be requeued
in the videobuf2 queue before streaming starts, but while streaming it
should be returned to userspace with an error.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-bit.c
drivers/media/platform/coda/coda-common.c
drivers/media/platform/coda/coda.h