The usb gadget core set the chosen endpoint descriptor for each endpoints in config_ep_by_speed(), however, we want to get the transfer type of the endpoints earlier on the rockchip platforms for usb controller initialization (e.g. do tx fifos resize for rockchip usb dwc3 controller), so this patch add transfer_type in the struct usb_ep, and set the transfer_type in the usb_ep_autoconfig_ss(). Change-Id: Ia2added218e180dda7a7ca5da09ee18d63be1ff0 Signed-off-by: William Wu <william.wu@rock-chips.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
35 KiB
35 KiB