[media] coda: add coda_encode_header helper function
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 23 May 2013 13:42:59 +0000 (10:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 8 Jun 2013 22:44:20 +0000 (19:44 -0300)
commitd35167a1d69ae027615d4345a678555bf1c6fed6
tree62a24d3200284718e07acdacc0c8e5a6fb6db4f7
parentb96904e50a70618e2c3d44d267706728ca741a4c
[media] coda: add coda_encode_header helper function

In preparation for CODA7541 and CODA960 multi-stream support and for
replacement of the completion with a mutex lock, consolidate the
header encoding in a helper function.

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