mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
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>
This commit is contained in:
parent
d807bdd028
commit
f2df679b6c
1 changed files with 4 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue