Permalink
Browse files

dwc_otg: Force host mode to fix incorrect compute module boards

1 parent 676d8d9 commit 59e76bb7e2936acd74938bb385f0884e34b91d72 @popcornmix popcornmix committed Sep 17, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)
core_if->hptxfsiz.d32 =
DWC_READ_REG32(&core_if->core_global_regs->hptxfsiz);
gusbcfg.d32 = DWC_READ_REG32(&core_if->core_global_regs->gusbcfg);
- gusbcfg.b.force_host_mode = 0;
+ gusbcfg.b.force_host_mode = 1;
DWC_WRITE_REG32(&core_if->core_global_regs->gusbcfg, gusbcfg.d32);
dwc_mdelay(100);
}

0 comments on commit 59e76bb

Please sign in to comment.