Skip to content

Commit 59e76bb

Browse files
committed
dwc_otg: Force host mode to fix incorrect compute module boards
1 parent 676d8d9 commit 59e76bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/host/dwc_otg/dwc_otg_cil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ dwc_otg_core_if_t *dwc_otg_cil_init(const uint32_t * reg_base_addr)
192192
core_if->hptxfsiz.d32 =
193193
DWC_READ_REG32(&core_if->core_global_regs->hptxfsiz);
194194
gusbcfg.d32 = DWC_READ_REG32(&core_if->core_global_regs->gusbcfg);
195-
gusbcfg.b.force_host_mode = 0;
195+
gusbcfg.b.force_host_mode = 1;
196196
DWC_WRITE_REG32(&core_if->core_global_regs->gusbcfg, gusbcfg.d32);
197197
dwc_mdelay(100);
198198
}

0 commit comments

Comments
 (0)