usb: dwc3: gadget: initialize NUMP based on RxFIFO Size
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 13 May 2016 11:09:59 +0000 (14:09 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:30:07 +0000 (12:30 +0300)
commit4e99472bc10bda9906526d725ff6d5f27b4ddca1
treebb329a92c2e26e7747c60d5956c9533f281f73dc
parent5ee85d890f8de5c6f1ab22ba13734a63fdf3ff2d
usb: dwc3: gadget: initialize NUMP based on RxFIFO Size

Instead of using burst size to configure NUMP, we
should be using RxFIFO Size instead. DWC3 is smart
enough to know that it shouldn't burst in case burst
size is 0.

Reported-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c