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

Skip to content
Commit 90843aaf authored by Bar Weiner's avatar Bar Weiner
Browse files

usb: dwc3: gadget: fix isochronous transfer TRB preparing



For isochronous transfer, the last TRB (slot TRB_NUM in the TRB pool)
is the link TRB. The link TRB is not used for transfers, and
it's not associated with a USB request.
Counting the link TRB as "preparable" TRB is wrong and so
we overrun a prepared TRB which was already associated with
a request.

Change-Id: Id29ac2fbd5e3b8e824b6aa8f88e53abf0ec1ce21
Signed-off-by: default avatarNadine Toledano <nadinet@codeaurora.org>
Signed-off-by: default avatarBar Weiner <bweiner@codeaurora.org>
parent 6399cfab
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