summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/usbdebug_direct.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/usbdebug_direct.c b/src/lib/usbdebug_direct.c
index 3125dc084d..48875dc610 100644
--- a/src/lib/usbdebug_direct.c
+++ b/src/lib/usbdebug_direct.c
@@ -407,11 +407,10 @@ try_next_port:
cmd = readl(&ehci_regs->command);
} while ((cmd & CMD_RESET) && (--loop > 0));
- if(!loop) {
+ if(!loop)
dbgp_printk("Could not reset EHCI controller.\n");
- return;
- }
- dbgp_printk("EHCI controller reset successfully.\n");
+ else
+ dbgp_printk("EHCI controller reset successfully.\n");
/* Claim ownership, but do not enable yet */
ctrl = readl(&ehci_debug->control);