summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-12-26 21:55:12 +0800
committersakumisu <[email protected]>2025-12-26 21:55:12 +0800
commitbe5ba641ddafed46b5140a0138112e2098837f94 (patch)
treec021548c1599b9834bf5fb6fc9738741c1380411
parent7317913efa6f9076b1c5d12b6ba810ddceafc4ca (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 337abf20..b8965b0d 100644
--- a/port/dwc2/usb_hc_dwc2.c
+++ b/port/dwc2/usb_hc_dwc2.c
@@ -753,7 +753,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 */