forked from Minki/linux
[media] vivi: set device_caps
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
583aa3a9b5
commit
a8187c42fb
@ -819,8 +819,9 @@ static int vidioc_querycap(struct file *file, void *priv,
|
||||
strcpy(cap->driver, "vivi");
|
||||
strcpy(cap->card, "vivi");
|
||||
strlcpy(cap->bus_info, dev->v4l2_dev.name, sizeof(cap->bus_info));
|
||||
cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING | \
|
||||
V4L2_CAP_READWRITE;
|
||||
cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING |
|
||||
V4L2_CAP_READWRITE | V4L2_CAP_DEVICE_CAPS;
|
||||
cap->device_caps = cap->capabilities;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user