fix(port/dwc2/usb_hc_dwc2): fix incorrect HFIR_RELOAD_CTRL setting

Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
sakumisu
2025-12-26 21:55:12 +08:00
parent 7317913efa
commit be5ba641dd

View File

@@ -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 */