upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:51:31 +0000 (11:51 +0900)
commit6147b13e9504c5db0f22665dba6093332c8b89bd
treec27364dd321bb01abebd2bdeac2ebc4241a3501a
parent254d22ceb554177fd58f5065228740d4df66ebf8
upstream: [media] coda: split encoder specific parts out of device_run and irq_handler

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