From patchwork Sat Oct 24 01:31:19 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Fix USB EHCI Debug Device for Intel ICH Date: Sat, 24 Oct 2009 01:31:19 -0000 From: Stefan Reinauer X-Patchwork-Id: 475 Message-Id: <4AE258E7.2050708@coresystems.de> To: coreboot_mailing list See patch Acked-by: Carl-Daniel Hailfinger Index: src/lib/usbdebug_direct.c =================================================================== --- src/lib/usbdebug_direct.c (revision 4832) +++ src/lib/usbdebug_direct.c (working copy) @@ -407,11 +407,10 @@ 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);