brcm2708: switch to linux 4.4 and update patches
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.1 / 0192-dwc_otg-Force-host-mode-to-fix-incorrect-compute-mod.patch
1 From b83e68859c2079a59dd5fb384d0204151e4ff4c5 Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Thu, 17 Sep 2015 17:13:42 +0100
4 Subject: [PATCH 192/222] dwc_otg: Force host mode to fix incorrect compute
5 module boards
6
7 ---
8 drivers/usb/host/dwc_otg/dwc_otg_cil.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/drivers/usb/host/dwc_otg/dwc_otg_cil.c
12 +++ b/drivers/usb/host/dwc_otg/dwc_otg_cil.c
13 @@ -192,7 +192,7 @@ dwc_otg_core_if_t *dwc_otg_cil_init(cons
14 core_if->hptxfsiz.d32 =
15 DWC_READ_REG32(&core_if->core_global_regs->hptxfsiz);
16 gusbcfg.d32 = DWC_READ_REG32(&core_if->core_global_regs->gusbcfg);
17 - gusbcfg.b.force_host_mode = 0;
18 + gusbcfg.b.force_host_mode = 1;
19 DWC_WRITE_REG32(&core_if->core_global_regs->gusbcfg, gusbcfg.d32);
20 dwc_mdelay(100);
21 }