usb: gadget: uvc: Configure the streaming endpoint based on the speed
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 1 Mar 2013 19:46:27 +0000 (20:46 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:20 +0000 (11:18 +0200)
commit0485ec0d3ba9ce96ab5064b05a06e672c9d2c973
tree294c0b93ebd6e7a954a72a96e695df31d0c6ebd7
parent20777dde026eb4b915ce577f830231c00c3f9292
usb: gadget: uvc: Configure the streaming endpoint based on the speed

Call the appropriate usb_ep_autoconf*() function depending on the device
speed, and pass it the corresponding streaming endpoint.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Bhupesh Sharma <bhupesh.sharma@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_uvc.c