Hi Felip,
On 1/17/2013 4:14 PM, Pratyush ANAND wrote:
dwc3_gadget_set_ep_config expects maxburst as incremented by 1. So, by
default initialize ep->maxburst to 0 for ep0.
Although , this patch fixes issue of maxburst for default control
endpoint. But, I could not understand purpose of following patch..May be
I am missing something..
usb: gadget: composite: fix ep->maxburst initialization
Since at every other places, maxburst takes value same as bMaxburst
size(like isoc_maxburst in f_sourcesink.c), so why should we use an
incremented one in composite.c and decrement it again in peripheral driver.
Regards
Pratyush
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html