diff options
author | Anurag Kumar Vulisha <anuragku@xilinx.com> | 2018-03-27 14:05:21 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-05-21 10:00:47 +0300 |
commit | c96e6725db9d6a04ac1bee881e3034b636d9f71c (patch) | |
tree | 2c0e37dc8365e01f1cb8dfdf41c172b68e2fbef3 /Documentation/pnp.txt | |
parent | a31e63b608ff78c77d8e033347239431d522fe5d (diff) | |
download | linux-c96e6725db9d6a04ac1bee881e3034b636d9f71c.tar.xz |
usb: dwc3: gadget: Correct the logic for queuing sgs
The present code correctly fetches the req which were previously not
queued from the started_list but fails to continue queuing from the sg
where it previously stopped queuing (because of the unavailable TRB's).
This patch correct's the code to continue queuing from the correct sg
present in the sglist.
For example, consider 5 sgs in req. Because of limited TRB's among the
5 sgs only 3 got queued. This patch corrects the code to start queuing
from correct sg i.e 4th sg when the TRBs are available.
Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'Documentation/pnp.txt')
0 files changed, 0 insertions, 0 deletions