diff options
author | Bhupesh Sharma <bhupesh.sharma@st.com> | 2012-06-01 15:08:56 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-06-04 18:12:36 +0300 |
commit | fbcaba0e3dcec8451cccdc1fa92fcddbde2bc3f2 (patch) | |
tree | b21dad6486886007a24cffeb38c7ea8af8a7055b /drivers/usb/gadget/uvc.h | |
parent | 5797663674b0d802f275761e71593b32b0849242 (diff) | |
download | op-kernel-dev-fbcaba0e3dcec8451cccdc1fa92fcddbde2bc3f2.zip op-kernel-dev-fbcaba0e3dcec8451cccdc1fa92fcddbde2bc3f2.tar.gz |
usb: gadget: uvc: Add super-speed support to UVC webcam gadget
This patch adds super-speed support to UVC webcam gadget.
Also in this patch:
- We add the configurability to pass bInterval, bMaxBurst, mult
factors for video streaming endpoint (ISOC IN) through module
parameters.
- We use config_ep_by_speed helper routine to configure video
streaming endpoint.
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/uvc.h')
-rw-r--r-- | drivers/usb/gadget/uvc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/gadget/uvc.h b/drivers/usb/gadget/uvc.h index ca4e03a..93b0c11 100644 --- a/drivers/usb/gadget/uvc.h +++ b/drivers/usb/gadget/uvc.h @@ -153,9 +153,11 @@ struct uvc_device /* Descriptors */ struct { - const struct uvc_descriptor_header * const *control; + const struct uvc_descriptor_header * const *fs_control; + const struct uvc_descriptor_header * const *ss_control; const struct uvc_descriptor_header * const *fs_streaming; const struct uvc_descriptor_header * const *hs_streaming; + const struct uvc_descriptor_header * const *ss_streaming; } desc; unsigned int control_intf; |