commit | f2df679b6c556fd3b0b7ffafea170f1679086455 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Thu Jun 09 16:31:34 2016 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Jun 21 10:38:43 2016 +0300 |
tree | 0500be613c0f89d593ea26ebdb4aad5da888640d | |
parent | d807bdd02845d53047346a4ba6d8934597fba6d6 [diff] |
usb: dwc3: gadget: avoid while(1) in run_stop() instead of looping forever and forcing a return if timeout reaches zero, we can just use timeout and loop's break condition directly. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>