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

Commit ef1891fa authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa Committed by Matt Wagantall
Browse files

USB: dwc3: Fix issues in isochronous endpoint handling



If there are no requests queued by function driver when
XFRNRDY interrupt is recieved, pending flag will be set.
Then if function driver queues request, don't queue ENDTXFR
command and wait for XFRNRDY interrupt.

START TRANSFER command will fail if the interval for which
requests are being queued is already expired. Handle this
case by queueing ENDXFER command and waiting till recieves
XFRNRDY interrupt.

Change-Id: I9498be3967e0f80b05cf0830affe5463f07e2976
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
[jackp@codeaurora.org: added extra param for dwc3_stop_active_transfer]
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 0e0aa673
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