ohci: fix startup when the controller is in SUSPEND or RESUME state.

This commit is contained in:
Martin Whitaker
2022-04-23 08:57:55 +01:00
parent 0bd19d9d91
commit 80bb3f452d
+1 -1
View File
@@ -459,7 +459,7 @@ bool ohci_init(uintptr_t base_addr, usb_hcd_t *hcd)
break;
case OHCI_CTRL_HCFS_SUS:
case OHCI_CTRL_HCFS_RES:
flush32(&op_regs->control, OHCI_CTRL_HCFS_SUS);
flush32(&op_regs->control, OHCI_CTRL_HCFS_RES);
usleep(10*MILLISEC);
break;
default: // operational