aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2011-07-07 05:42:05 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-06 16:51:18 -0400
commit8f401543ec96fb58533a2bef41e2c584fe55a114 (patch)
treef1eadccec056db8be30335deda8845a41f40c49a /drivers
parent566afaace58e3a800d2a903424960ad97d203c68 (diff)
[media] s5p-fimc: Remove single-planar capability flags
The driver supports only multi-planar API and conversion to single-planar API should be done in libv4l2. Remove misleading single planar capability flags to avoid problems in applications and libv4l2. 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')
-rw-r--r--drivers/media/video/s5p-fimc/fimc-capture.c3
-rw-r--r--drivers/media/video/s5p-fimc/fimc-core.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-capture.c b/drivers/media/video/s5p-fimc/fimc-capture.c
index d6219c5aeffc..931f469604b0 100644
--- a/drivers/media/video/s5p-fimc/fimc-capture.c
+++ b/drivers/media/video/s5p-fimc/fimc-capture.c
@@ -618,8 +618,7 @@ static int fimc_vidioc_querycap_capture(struct file *file, void *priv,
618 strncpy(cap->driver, fimc->pdev->name, sizeof(cap->driver) - 1); 618 strncpy(cap->driver, fimc->pdev->name, sizeof(cap->driver) - 1);
619 strncpy(cap->card, fimc->pdev->name, sizeof(cap->card) - 1); 619 strncpy(cap->card, fimc->pdev->name, sizeof(cap->card) - 1);
620 cap->bus_info[0] = 0; 620 cap->bus_info[0] = 0;
621 cap->capabilities = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_CAPTURE | 621 cap->capabilities = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_CAPTURE_MPLANE;
622 V4L2_CAP_VIDEO_CAPTURE_MPLANE;
623 622
624 return 0; 623 return 0;
625} 624}
diff --git a/drivers/media/video/s5p-fimc/fimc-core.c b/drivers/media/video/s5p-fimc/fimc-core.c
index afadb5e20b88..6c1c9cb55378 100644
--- a/drivers/media/video/s5p-fimc/fimc-core.c
+++ b/drivers/media/video/s5p-fimc/fimc-core.c
@@ -864,7 +864,6 @@ static int fimc_m2m_querycap(struct file *file, void *fh,
864 strncpy(cap->card, fimc->pdev->name, sizeof(cap->card) - 1); 864 strncpy(cap->card, fimc->pdev->name, sizeof(cap->card) - 1);
865 cap->bus_info[0] = 0; 865 cap->bus_info[0] = 0;
866 cap->capabilities = V4L2_CAP_STREAMING | 866 cap->capabilities = V4L2_CAP_STREAMING |
867 V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OUTPUT |
868 V4L2_CAP_VIDEO_CAPTURE_MPLANE | V4L2_CAP_VIDEO_OUTPUT_MPLANE; 867 V4L2_CAP_VIDEO_CAPTURE_MPLANE | V4L2_CAP_VIDEO_OUTPUT_MPLANE;
869 868
870 return 0; 869 return 0;