diff --git a/kernel/usb/xhci/port.cpp b/kernel/usb/xhci/port.cpp index 8589f3632..52aadea31 100644 --- a/kernel/usb/xhci/port.cpp +++ b/kernel/usb/xhci/port.cpp @@ -31,7 +31,7 @@ namespace usb::xhci { Error Port::Reset() { auto portsc = port_reg_set_.PORTSC.Read(); portsc.data[0] &= 0x0e00c3e0u; - portsc.data[0] |= 0x00020010u; // Write 1 to PR and CSC + portsc.data[0] |= 0x00220010u; // Write 1 to PR and CSC and PRC port_reg_set_.PORTSC.Write(portsc); while (port_reg_set_.PORTSC.Read().bits.port_reset); return MAKE_ERROR(Error::kSuccess);