usb: dwc3: gadget: Set txfifo for all eps in usb configuration
Resize txfifo function currently configures txfifo for enabled
endpoints. In most cases endpoints are enabled by function drivers
after usb host selects the configuration. Some functions like ecm
and ncm have two interfaces (control and data) and data interface
are enabled only after the configuration is selected and may not have
proper correct txfifo settings. To avoid this issue, configure the
txfifo for all IN endpoints in the selected usb configuration,
regardless of ep enabled status.
Change-Id: I4fe32f338b6f63904dcdc08bdd03dcb093bfd73d
Signed-off-by:
Vamsi Krishna <vskrishn@codeaurora.org>
Loading
Please register or sign in to comment