From: Philipp Zabel Date: Thu, 23 May 2013 13:43:01 +0000 (-0300) Subject: [media] coda: do not call v4l2_m2m_job_finish from .job_abort X-Git-Tag: v3.11-rc1~17^2~306 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e748268f391eaf46fe547eb3e51bfec387a63c5;p=pandora-kernel.git [media] coda: do not call v4l2_m2m_job_finish from .job_abort If we just declare the job finished here while the CODA is still running, the call to v4l2_m2m_ctx_release in coda_release, which is supposed to wait for a running job to finish, will return immediately and free memory that the CODA is still using. Just set the 'aborting' flag and let coda_irq_handler deal with it. Signed-off-by: Philipp Zabel Signed-off-by: Kamil Debski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed