aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hw/usb-ohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/usb-ohci.c b/src/hw/usb-ohci.c
index 90f60e6..0fe8ea9 100644
--- a/src/hw/usb-ohci.c
+++ b/src/hw/usb-ohci.c
@@ -189,7 +189,7 @@ start_ohci(struct usb_ohci_s *cntl, struct ohci_hcca *hcca)
writel(&cntl->regs->cmdstatus, OHCI_HCR);
for (;;) {
u32 status = readl(&cntl->regs->cmdstatus);
- if (! status & OHCI_HCR)
+ if (!(status & OHCI_HCR))
break;
if (timer_check(end)) {
warn_timeout();