Merge "dwc3: gadget: Increase TXFIFO size as 3KB with endless USB IN endpoint"

This commit is contained in:
Linux Build Service Account 2016-12-13 12:17:56 -08:00 committed by Gerrit - the friendly Code Review server
commit 6524cc4515

View file

@ -213,7 +213,8 @@ int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc)
* use mult as 3 for GSI IN endpoint always irrespective
* USB speed.
*/
if (dep->endpoint.ep_type == EP_TYPE_GSI)
if (dep->endpoint.ep_type == EP_TYPE_GSI ||
dep->endpoint.endless)
mult = 3;
if (!(dep->flags & DWC3_EP_ENABLED)) {