commit | f6bb225bb3ca7988ff373c62cc298e56cae1eee5 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon May 23 13:53:34 2016 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Jun 20 12:32:40 2016 +0300 |
tree | 0a349c83a4e98f1bda5d7c3eec20efd033867514 | |
parent | ba1598410eff646e10be4e42d773e5bdc511d898 [diff] |
usb: dwc3: gadget: loop while (timeout) instead of having infinite loop and always checking timeout value as a break condition, we can just decrement timeout inside while's condition. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>