mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-05 02:27:39 +00:00
bdk: xusb: fully clear device mode ctrl register on deinit
This commit is contained in:
parent
d259d6f6d6
commit
801ebd3543
@ -1996,7 +1996,7 @@ void xusb_end(bool reset_ep, bool only_controller)
|
||||
_xusb_disable_ep1();
|
||||
|
||||
// Disable device mode.
|
||||
XUSB_DEV_XHCI(XUSB_DEV_XHCI_CTRL) &= ~XHCI_CTRL_ENABLE;
|
||||
XUSB_DEV_XHCI(XUSB_DEV_XHCI_CTRL) = 0;
|
||||
|
||||
//! TODO: Add only controller support?
|
||||
_xusb_device_power_down();
|
||||
|
Loading…
Reference in New Issue
Block a user