]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: coda: ignore coda busy status in coda_job_ready
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 25 Jul 2012 13:46:09 +0000 (10:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 26 Sep 2012 19:35:54 +0000 (16:35 -0300)
commitbcedb4c2422801e37c3d9c716597e8883d1b4e87
tree3cfc89dccf606be4b2fb051eea83e0e2cd5b94e9
parentec25f68d534798e4bc98b6c115757956422b2e45
[media] media: coda: ignore coda busy status in coda_job_ready

job_ready is supposed to signal whether a context is ready to be
added to the job queue, not whether the CODA is ready to run it
immediately.
Calling v4l2_m2m_job_finish at the end of coda_irq_handler already
guarantees that the coda is ready when v4l2-mem2mem eventually tries
to run the next queued job.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/coda.c