fix(port/dwc2/usb_hc_dwc2): fix incorrect HFIR_RELOAD_CTRL setting
Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
@@ -751,7 +751,7 @@ int usb_hc_init(struct usbh_bus *bus)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (g_dwc2_hcd[bus->hcd.hcd_id].hw_params.snpsid > 0x4F54292AU) {
|
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 */
|
/* Clear all pending HC Interrupts */
|
||||||
|
|||||||
Reference in New Issue
Block a user