Skip to content
Commit b785ea7c authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <balbi@ti.com>
parent fbcaba0e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment