mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-25 18:55:23 -06:00
ohci: fix startup when the controller is in SUSPEND or RESUME state.
This commit is contained in:
parent
0bd19d9d91
commit
80bb3f452d
@ -459,7 +459,7 @@ bool ohci_init(uintptr_t base_addr, usb_hcd_t *hcd)
|
|||||||
break;
|
break;
|
||||||
case OHCI_CTRL_HCFS_SUS:
|
case OHCI_CTRL_HCFS_SUS:
|
||||||
case OHCI_CTRL_HCFS_RES:
|
case OHCI_CTRL_HCFS_RES:
|
||||||
flush32(&op_regs->control, OHCI_CTRL_HCFS_SUS);
|
flush32(&op_regs->control, OHCI_CTRL_HCFS_RES);
|
||||||
usleep(10*MILLISEC);
|
usleep(10*MILLISEC);
|
||||||
break;
|
break;
|
||||||
default: // operational
|
default: // operational
|
||||||
|
Loading…
Reference in New Issue
Block a user