• Felipe Balbi's avatar
    usb: dwc3: gadget: update DCFG.NumP to max burst size · 676e3497
    Felipe Balbi authored
    NumP field of DCFG register is used on NumP field of
    ACK TP header and it tells the host how many packets
    an endpoint can receive before waiting for
    synchronization.
    
    Documentation says it should be set to anything
    <=bMaxBurst. Interestingly, however, this setting is
    not per-endpoint how it should be (different
    endpoints could have different burst sizes), but
    things seem to work okay right now.
    Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
    676e3497
gadget.c 71.5 KB