From 6d58c3b96eb17dc2e70787a883c03e7022784528 Mon Sep 17 00:00:00 2001 From: Patrik Jakobsson Date: Sun, 29 Nov 2015 22:31:30 +0100 Subject: [PATCH] facetimehd: Remove V4L2_CAP_TIMEPERFRAME from device caps V4L2_CAP_TIMERPERFRAME is a streaming paramater and must not go into the device caps. This accidentally exposed mplane support which we don't have yet. --- fthd_v4l2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fthd_v4l2.c b/fthd_v4l2.c index df22df7..189755b 100644 --- a/fthd_v4l2.c +++ b/fthd_v4l2.c @@ -368,8 +368,8 @@ static int fthd_v4l2_ioctl_querycap(struct file *filp, void *priv, snprintf(cap->bus_info, sizeof(cap->bus_info), "PCI:%s", pci_name(dev_priv->pdev)); - cap->device_caps = V4L2_CAP_VIDEO_CAPTURE | - V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | V4L2_CAP_TIMEPERFRAME; + cap->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_READWRITE | + V4L2_CAP_STREAMING; cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS; return 0; }