[media] coda: simplify check in coda_buf_queue
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 23 Jan 2015 16:51:35 +0000 (13:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 12:38:21 +0000 (10:38 -0200)
commitcb06b705e3eaf2e3f69e6e5e2ded8b07b2711627
treec0afebe888f38325a1d16f675b71bfb5cc45ab11
parente55317e7080e6d746c2d8e323216a7091e25111b
[media] coda: simplify check in coda_buf_queue

Now that the bitstream buffer is only allocated for the BIT decoder
case, we can use bitstream.size to check for bitstream ringbuffer
operation.

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