From ddfc6d2270700bc1b454e258c951dbed7f452597 Mon Sep 17 00:00:00 2001 From: Sandor Yu Date: Thu, 24 Sep 2015 14:52:02 +0800 Subject: [PATCH] MLK-11618: pxp output: Fix warning message Fill device_caps in pxp output driver. Signed-off-by: Sandor Yu --- drivers/media/platform/mxc/output/mxc_pxp_v4l2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/mxc/output/mxc_pxp_v4l2.c b/drivers/media/platform/mxc/output/mxc_pxp_v4l2.c index 1c74af772a63..005bb9262b53 100644 --- a/drivers/media/platform/mxc/output/mxc_pxp_v4l2.c +++ b/drivers/media/platform/mxc/output/mxc_pxp_v4l2.c @@ -954,9 +954,9 @@ static int pxp_querycap(struct file *file, void *fh, cap->version = (PXP_DRIVER_MAJOR << 8) + PXP_DRIVER_MINOR; - cap->capabilities = V4L2_CAP_VIDEO_OUTPUT | - V4L2_CAP_VIDEO_OUTPUT_OVERLAY | - V4L2_CAP_STREAMING; + cap->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_OUTPUT | + V4L2_CAP_VIDEO_OUTPUT_OVERLAY; + cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS; return 0; } -- 2.17.1