summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-12-26 21:55:12 +0800
committersakumisu <[email protected]>2025-12-26 22:00:39 +0800
commit5ffe9cbe7fb41489d99806daa8572124ace1b99b (patch)
tree19c130ca9af39fe0128a172eda26804518d570f7
parent047c872e9982b8f32d5dbbf0e4016c53cad68e2b (diff)
fix(port/dwc2/usb_hc_dwc2): fix incorrect HFIR_RELOAD_CTRL setting
Signed-off-by: sakumisu <[email protected]>
-rw-r--r--port/dwc2/usb_hc_dwc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/port/dwc2/usb_hc_dwc2.c b/port/dwc2/usb_hc_dwc2.c
index 8c2087ae..c1c3ca8c 100644
--- a/port/dwc2/usb_hc_dwc2.c
+++ b/port/dwc2/usb_hc_dwc2.c
@@ -751,7 +751,7 @@ int usb_hc_init(struct usbh_bus *bus)
}
if (g_dwc2_hcd[bus->hcd.hcd_id].hw_params.snpsid > 0x4F54292AU) {
- USB_OTG_HOST->HCFG |= USB_OTG_HFIR_RELOAD_CTRL;
+ USB_OTG_HOST->HFIR |= USB_OTG_HFIR_RELOAD_CTRL;
}
/* Clear all pending HC Interrupts */