summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/s5p-fimc/fimc-m2m.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-05 06:05:50 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-26 11:57:06 -0300
commit954f340fc7f2fa2ae8812670da49e828d2686d8e (patch)
treeb6faff35d6f9a58fb2edde91b3888c7794b1b942 /drivers/media/platform/s5p-fimc/fimc-m2m.c
parent5c77879ff9ab9e7dd5b4a78666a09af1a8854be9 (diff)
downloadblackbird-op-linux-954f340fc7f2fa2ae8812670da49e828d2686d8e.tar.gz
blackbird-op-linux-954f340fc7f2fa2ae8812670da49e828d2686d8e.zip
[media] Set vfl_dir for all display or m2m drivers
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/s5p-fimc/fimc-m2m.c')
-rw-r--r--drivers/media/platform/s5p-fimc/fimc-m2m.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/s5p-fimc/fimc-m2m.c b/drivers/media/platform/s5p-fimc/fimc-m2m.c
index c67e53bfa43a..9237e53cf6df 100644
--- a/drivers/media/platform/s5p-fimc/fimc-m2m.c
+++ b/drivers/media/platform/s5p-fimc/fimc-m2m.c
@@ -804,6 +804,7 @@ int fimc_register_m2m_device(struct fimc_dev *fimc,
vfd->minor = -1;
vfd->release = video_device_release;
vfd->lock = &fimc->lock;
+ vfd->vfl_dir = VFL_DIR_M2M;
snprintf(vfd->name, sizeof(vfd->name), "fimc.%d.m2m", fimc->id);
video_set_drvdata(vfd, fimc);
OpenPOWER on IntegriCloud