]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit213d02889d6407739855c1b1c1aba8d22ae6d8b6
treeca2e4dd232ce5b2d37a2587766615a64c2ec34f7
parent95dd21f9b0bab0c82af82d9f8f79bf7709b23f3e
[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