[media] coda: only set buffered input queue for decoder
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 30 Sep 2013 13:34:45 +0000 (10:34 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 28 Oct 2013 17:23:41 +0000 (15:23 -0200)
commiteb107516ed60dfcec25218e1becf66bb91eafe87
treea0d932b9ad2eae674b0ce56d396eba56e30c876a
parent0cddc7e9a0dd4b77471889d436b4a4ed8d8385bb
[media] coda: only set buffered input queue for decoder

Allow device_run with no buffers queued after streamoff only when
the current instance is a decoder.

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