projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[media] v4l2-event: Add v4l2_subscribed_event_ops
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
gadget
/
uvc_v4l2.c
diff --git
a/drivers/usb/gadget/uvc_v4l2.c
b/drivers/usb/gadget/uvc_v4l2.c
index f6e083b5019137db248fc67731f24eb6e683b1ac..90db5fe9c56eda0bcde9b86b58d271305aea0d1e 100644
(file)
--- a/
drivers/usb/gadget/uvc_v4l2.c
+++ b/
drivers/usb/gadget/uvc_v4l2.c
@@
-296,7
+296,7
@@
uvc_v4l2_do_ioctl(struct file *file, unsigned int cmd, void *arg)
if (sub->type < UVC_EVENT_FIRST || sub->type > UVC_EVENT_LAST)
return -EINVAL;
- return v4l2_event_subscribe(&handle->vfh, arg, 2);
+ return v4l2_event_subscribe(&handle->vfh, arg, 2
, NULL
);
}
case VIDIOC_UNSUBSCRIBE_EVENT: