2010/10/4 Felipe Balbi <balbi@xxxxxx>: > Hi, > > On Fri, Oct 01, 2010 at 10:18:03PM -0500, Ming Lei wrote: >> >> No, we only configure the max hw fifo size for each hw endpoint during >> setup endpoint, but the actual max packet size for one endpoint in >> usb device is very possible less than max hw fifo size of each hw >> endpoint, such as in fullspeed case. >> >> The actual max packet size is from endpoint descriptor and should >> always be set to MUSB_RXMAXP/MUSB_TXMAXP register in >> musb_gadget_enable function. > > but that's what we do, no ?? Yes, it is what the patch does, so need you to apply the patch below... [PATCH 2/2] USB: musb: gadget: fix MUSB_TXMAXP and MUSB_RXMAXP configuration. thanks, -- Lei Ming -- 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