summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/s5p-mfc/s5p_mfc_dec.c
diff options
context:
space:
mode:
authorKamil Debski2011-10-06 16:34:05 +0200
committerMauro Carvalho Chehab2011-11-08 12:06:09 +0100
commit43defb118247b9c72d53328aa366bdb154d5ee98 (patch)
treef2778200166d0094c046660731976125acc86564 /drivers/media/video/s5p-mfc/s5p_mfc_dec.c
parent[media] media: vb2: reset queued list on REQBUFS(0) call (diff)
downloadkernel-qcow2-linux-43defb118247b9c72d53328aa366bdb154d5ee98.tar.gz
kernel-qcow2-linux-43defb118247b9c72d53328aa366bdb154d5ee98.tar.xz
kernel-qcow2-linux-43defb118247b9c72d53328aa366bdb154d5ee98.zip
[media] v4l: s5p-mfc: fix reported capabilities
MFC uses the multi-plane API, but it reported single-plane when querying capabilities. Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/s5p-mfc/s5p_mfc_dec.c')
-rw-r--r--drivers/media/video/s5p-mfc/s5p_mfc_dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/s5p-mfc/s5p_mfc_dec.c b/drivers/media/video/s5p-mfc/s5p_mfc_dec.c
index 725634d9736d..844a4d7797bc 100644
--- a/drivers/media/video/s5p-mfc/s5p_mfc_dec.c
+++ b/drivers/media/video/s5p-mfc/s5p_mfc_dec.c
@@ -220,8 +220,8 @@ static int vidioc_querycap(struct file *file, void *priv,
strncpy(cap->card, dev->plat_dev->name, sizeof(cap->card) - 1);
cap->bus_info[0] = 0;
cap->version = KERNEL_VERSION(1, 0, 0);
- cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OUTPUT
- | V4L2_CAP_STREAMING;
+ cap->capabilities = V4L2_CAP_VIDEO_CAPTURE_MPLANE |
+ V4L2_CAP_VIDEO_OUTPUT_MPLANE | V4L2_CAP_STREAMING;
return 0;
}