projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
583aa3a
)
[media] vivi: set device_caps
author
Hans Verkuil
<hans.verkuil@cisco.com>
Mon, 7 Nov 2011 09:53:06 +0000
(06:53 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 23 Jan 2012 18:44:06 +0000
(16:44 -0200)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/vivi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/video/vivi.c
b/drivers/media/video/vivi.c
index 7d754fbcccbf78761b0185fdd2304513c70999af..84ea88dc10ada0f1a60ae816ae13b73ab83ca965 100644
(file)
--- a/
drivers/media/video/vivi.c
+++ b/
drivers/media/video/vivi.c
@@
-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;
}