summaryrefslogtreecommitdiff
path: root/drivers/media/platform/exynos4-is/fimc-lite.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-05-31 18:37:20 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-13 04:55:56 +0400
commit42625fdfbd608f0bdaffaf25e8eb32ef55cddf96 (patch)
treef511d20365c8d7d7fbb7a94185ca28a57b5079ae /drivers/media/platform/exynos4-is/fimc-lite.h
parent4403106d5cfeb438b19e492e29537a00f9b5495a (diff)
downloadlinux-42625fdfbd608f0bdaffaf25e8eb32ef55cddf96.tar.xz
[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>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-lite.h')
-rw-r--r--drivers/media/platform/exynos4-is/fimc-lite.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-lite.h b/drivers/media/platform/exynos4-is/fimc-lite.h
index fa3886a297ba..25abba98d7e9 100644
--- a/drivers/media/platform/exynos4-is/fimc-lite.h
+++ b/drivers/media/platform/exynos4-is/fimc-lite.h
@@ -125,7 +125,6 @@ struct flite_buffer {
* @active_buf_count: number of video buffers scheduled in hardware
* @frame_count: the captured frames counter
* @reqbufs_count: the number of buffers requested with REQBUFS ioctl
- * @ref_count: driver's private reference counter
*/
struct fimc_lite {
struct platform_device *pdev;
@@ -163,7 +162,6 @@ struct fimc_lite {
struct vb2_queue vb_queue;
unsigned int frame_count;
unsigned int reqbufs_count;
- int ref_count;
struct fimc_lite_events events;
bool streaming;