Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f7bbce5 authored by Jack Pham's avatar Jack Pham Committed by Matt Wagantall
Browse files

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: default avatarJack Pham <jackp@codeaurora.org>
parent 26883861
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment