[COMMON] media: scaler: add V4L2_CAP_FENCES capability
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Wed, 4 Apr 2018 06:54:14 +0000 (15:54 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:28:46 +0000 (14:28 +0900)
Change-Id: I01879c9c5b6e439c8b53f8384092491d5e0814b6
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/media/platform/exynos/scaler/scaler-core.c

index b4468e6cdc252c269da4ee8a38eb64dd54e126b3..16ae31a782a8799f0995f751130d44793ea72ff0 100644 (file)
@@ -702,7 +702,7 @@ static int sc_v4l2_querycap(struct file *file, void *fh,
        cap->capabilities = V4L2_CAP_STREAMING |
                V4L2_CAP_VIDEO_CAPTURE_MPLANE | V4L2_CAP_VIDEO_OUTPUT_MPLANE;
        cap->capabilities |= V4L2_CAP_DEVICE_CAPS;
-       cap->device_caps = 0x0100 ;
+       cap->device_caps = V4L2_CAP_FENCES;
 
        return 0;
 }