[media] s5p-fimc: send valid m2m ctx to fimc_m2m_job_finish
authorShaik Ameer Basha <shaik.ameer@samsung.com>
Wed, 6 Feb 2013 04:47:10 +0000 (01:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 21:23:21 +0000 (18:23 -0300)
commite34a89b39719dd1eb08e0b23c907e98b103078b4
tree47dbb3811221a7ec572da60d5599f192dbff897f
parent5d83790be7c88a5ea99ab32ca196d99cf4d177a4
[media] s5p-fimc: send valid m2m ctx to fimc_m2m_job_finish

fimc_m2m_job_finish() has to be called with the m2m context for the necessary
cleanup while resume. But currently fimc_m2m_job_finish() always passes m2m
context as NULL.
This patch preserves the context before making it null, for necessary cleanup.

Signed-off-by: Shaik Ameer Basha <shaik.ameer@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-fimc/fimc-core.c