[media] exynos4-is: Media graph/video device locking rework
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 31 May 2013 14:37:20 +0000 (11:37 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:43:02 +0000 (11:43 +0900)
commit7510cfbac4ad8b3f9ca70777fa7ec043fed4db26
tree5b2ef36082f58028ff2bba6968f29dcf2dcc559f
parent85070be80355300a658f37bce0be91abf96d89ef
[media] exynos4-is: Media graph/video device locking rework

Remove driver private video node reference counters and use entity->use_count
instead. This makes the video pipelines power handling more similar to the
method used in omap3isp driver.
Now the graph mutex is taken always after the video mutex, as it is not
possible to ensure apposite order at the all modules.

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
drivers/media/platform/exynos4-is/fimc-core.h
drivers/media/platform/exynos4-is/fimc-lite.c
drivers/media/platform/exynos4-is/fimc-lite.h
drivers/media/platform/exynos4-is/media-dev.c