upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:48:06 +0000 (11:48 +0900)
commit39ea6405ebcfea6d99cb39657e01d6b8255e4f41
tree12aa5a802f0182f0d651fea43f19c75a166ad3b7
parent3528998f12ab4d99c97fb31b4a48890cbff7f1de
upstream: [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