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

Skip to content
Commit de845b8c authored by Manu Gautam's avatar Manu Gautam
Browse files

usb: dwc3: gadget: Ring IPA GSI doorbell with next HWO TRB



IPA GSI doorbell needs to be rung with the next TRB that
USB hardware is going to process (not the completed one).
However, software rings doorbell with the completed TRB
(HWO=0). This causes IPA to be always off by 1 TRB when
transfer is completed, resulting in high ping RTT (round
trip time.
Fix this doorbell handling logic in USB software by
ringing doorbell with (n+1) TRB if 'n'th TRB got completed.

Change-Id: I0aaf8691bf6e9ab7eae5b304d6c925934922be30
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 6ae0f106
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