usb: dwc3: Adjust TX FIFO allocation
Optimize the dwc3_gadget_resize_tx_fifos() function to better
allocate the per-endpoint FIFOs depending on a number of factors:
- super- or non-super speed
- bulk/isoc with bursting
- reduced RAM (when QDSS uses some internal RAM)
- endpoint enabled in composition
This patch is a squash of the following changes from
msm-3.14:
USB: dwc: Reduce TxFIFO of non burst Bulk In endpoint to 1K from 3K
USB: dwc3: Allocate 3KB FIFO for bulk and isochronous endpoints
USB: dwc3: Fix QDSS data integrity issue
usb: dwc3: gadget: Set txfifo for all eps in usb configuration
Signed-off-by:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment