[media] coda: split encoder specific parts out of device_run and irq_handler
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 21 Jun 2013 06:55:33 +0000 (03:55 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 31 Jul 2013 18:43:56 +0000 (15:43 -0300)
Add coda_prepare_encode() and coda_finish_encode() functions. They are called
from coda_device_run() and coda_irq_handler(), respectively, before and after
the hardware picture run. This should make the following decoder support patch
easier to read, which will add the coda_prepare/finish_decode() equivalents.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

No differences found