diff options
author | Thinh Nguyen <[email protected]> | 2020-09-30 17:44:38 -0700 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2020-10-02 09:57:46 +0300 |
commit | 2338484d14f3f4b3bd1f7bb416805976e7bd0cc5 (patch) | |
tree | 2177fe5f337f99efbab2a18076a836114f9c3639 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 346a15cdf65263d8a8dfdbc5d2702471a2dcef6c (diff) |
usb: dwc3: gadget: Return early if no TRB update
If the transfer had already started and there's no TRB to update, then
there's no need to go through __dwc3_gadget_kick_transfer(). There is
no problem reissuing UPDATE_TRANSFER command. This change just saves
the driver from doing a few operations. This happens when we run out of
TRB and function driver still queues for more requests.
Signed-off-by: Thinh Nguyen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions