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

Skip to content
Commit 73716a26 authored by Vamsi Krishna's avatar Vamsi Krishna
Browse files

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: default avatarVamsi Krishna <vskrishn@codeaurora.org>
parent d81481d4
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