commit | 89bc856e5a7462e47d90d5a3f5396bd5795efd0c | [log] [tgz] |
---|---|---|
author | John Youn <johnyoun@synopsys.com> | Thu May 19 17:26:10 2016 -0700 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Jun 20 12:32:44 2016 +0300 |
tree | dc101f2c6543e6e8f46dc5b696bb9aa81cc0824e | |
parent | 0d25744ad107b6c9010153f3ebf8b59672b5b8e7 [diff] |
usb: dwc3: gadget: Don't prepare TRBs if no space If trbs_left == 0, we don't have any space left in the TRB ring so don't prepare anything. Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>