We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 676d8d9 commit 59e76bbCopy full SHA for 59e76bb
drivers/usb/host/dwc_otg/dwc_otg_cil.c
@@ -192,7 +192,7 @@ dwc_otg_core_if_t *dwc_otg_cil_init(const uint32_t * reg_base_addr)
192
core_if->hptxfsiz.d32 =
193
DWC_READ_REG32(&core_if->core_global_regs->hptxfsiz);
194
gusbcfg.d32 = DWC_READ_REG32(&core_if->core_global_regs->gusbcfg);
195
- gusbcfg.b.force_host_mode = 0;
+ gusbcfg.b.force_host_mode = 1;
196
DWC_WRITE_REG32(&core_if->core_global_regs->gusbcfg, gusbcfg.d32);
197
dwc_mdelay(100);
198
}
0 commit comments