mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2026-08-09 12:38:05 -05:00
ohci: fix startup when the controller is in SUSPEND or RESUME state.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user