]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] exynos-gsc: send valid m2m ctx to gsc_m2m_job_finish
authorShaik Ameer Basha <shaik.ameer@samsung.com>
Wed, 6 Feb 2013 04:46:18 +0000 (01:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 21:23:06 +0000 (18:23 -0300)
commit5d83790be7c88a5ea99ab32ca196d99cf4d177a4
treeabfd8aa9931fda8fc30256f80d9859dd138bb9b2
parent6a5360966ac44905ecb840dd6c9d736072145df2
[media] exynos-gsc: send valid m2m ctx to gsc_m2m_job_finish

gsc_m2m_job_finish() has to be called with the m2m context for the necessary
cleanup while resume. But currently gsc_m2m_job_finish() always passes m2m
context as NULL.
This patch preserves the context before making it null, for necessary cleanup.
Use gsc_m2m_opened() instead gsc_m2m_active() in gsc_resume().

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/exynos-gsc/gsc-core.c