Searched hist:b785ea7c (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/usb/gadget/ |
H A D | composite.c | b785ea7c Wed Jun 06 02:20:23 CDT 2012 Felipe Balbi <balbi@ti.com> usb: gadget: composite: fix ep->maxburst initialization
bMaxBurst field on endpoint companion descriptor is supposed to contain the number of burst minus 1. When passing that to controller drivers, we should be passing the real number instead (by incrementing 1).
While doing that, also fix the assumption on dwc3 that value comes decremented by one.
Signed-off-by: Felipe Balbi <balbi@ti.com> b785ea7c Wed Jun 06 02:20:23 CDT 2012 Felipe Balbi <balbi@ti.com> usb: gadget: composite: fix ep->maxburst initialization bMaxBurst field on endpoint companion descriptor is supposed to contain the number of burst minus 1. When passing that to controller drivers, we should be passing the real number instead (by incrementing 1). While doing that, also fix the assumption on dwc3 that value comes decremented by one. Signed-off-by: Felipe Balbi <balbi@ti.com>
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | gadget.c | b785ea7c Wed Jun 06 02:20:23 CDT 2012 Felipe Balbi <balbi@ti.com> usb: gadget: composite: fix ep->maxburst initialization
bMaxBurst field on endpoint companion descriptor is supposed to contain the number of burst minus 1. When passing that to controller drivers, we should be passing the real number instead (by incrementing 1).
While doing that, also fix the assumption on dwc3 that value comes decremented by one.
Signed-off-by: Felipe Balbi <balbi@ti.com>
|