[media] exynos4-is: Do not use asynchronous runtime PM in release fop
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 31 May 2013 14:37:21 +0000 (11:37 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:43:02 +0000 (11:43 +0900)
commit3ffeac9f79f771f6a1d56667ec7706b54d287162
tree3618e5110c518dfcb0ac0a699048bc6dabbc8a7f
parent7510cfbac4ad8b3f9ca70777fa7ec043fed4db26
[media] exynos4-is: Do not use asynchronous runtime PM in release fop

Use pm_runtime_put_sync() instead of pm_runtime_put() to avoid races
in handling the 'state' bit flags when the fimc-capture drivers'
runtime_resume callback is called from the PM workqueue.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/exynos4-is/fimc-capture.c