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.
This commit is contained in:
Patrik Jakobsson
2015-11-29 22:31:30 +01:00
parent 7c50063de3
commit 6d58c3b96e

View File

@@ -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;
}