usb: gadget: uvc: Merge the streaming maxpacket and mult parameters
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 1 Mar 2013 19:46:26 +0000 (20:46 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:19 +0000 (11:18 +0200)
commit20777dde026eb4b915ce577f830231c00c3f9292
treeb35f9e709f553302c76b433558eff4358b32fa54
parent48eee0b41a1c6e979e4b47d75bb3f2493c1b5fb9
usb: gadget: uvc: Merge the streaming maxpacket and mult parameters

Compute the multiplier from the maximum packet size based on the speed.

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