diff options
author | John Crispin <john@openwrt.org> | 2015-10-26 09:01:05 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-10-26 09:01:05 +0000 |
commit | bf28fb50bf705fdd12f749c57abce1796b8c1024 (patch) | |
tree | ea7c899e5461e9a403c8f17543cbe66f89ba2925 /target/linux/brcm2708/patches-4.1/0192-dwc_otg-Force-host-mode-to-fix-incorrect-compute-mod.patch | |
parent | 63a50eeba30cb773e7abbd71c5e0727171ea740a (diff) | |
download | upstream-bf28fb50bf705fdd12f749c57abce1796b8c1024.tar.gz upstream-bf28fb50bf705fdd12f749c57abce1796b8c1024.tar.bz2 upstream-bf28fb50bf705fdd12f749c57abce1796b8c1024.zip |
brcm2708: update 4.1 patches
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47258
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0192-dwc_otg-Force-host-mode-to-fix-incorrect-compute-mod.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.1/0192-dwc_otg-Force-host-mode-to-fix-incorrect-compute-mod.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0192-dwc_otg-Force-host-mode-to-fix-incorrect-compute-mod.patch b/target/linux/brcm2708/patches-4.1/0192-dwc_otg-Force-host-mode-to-fix-incorrect-compute-mod.patch new file mode 100644 index 0000000000..2e67974976 --- /dev/null +++ b/target/linux/brcm2708/patches-4.1/0192-dwc_otg-Force-host-mode-to-fix-incorrect-compute-mod.patch @@ -0,0 +1,21 @@ +From 140e8eab017a65e70d93dbb651045d0b8a70ff37 Mon Sep 17 00:00:00 2001 +From: popcornmix <popcornmix@gmail.com> +Date: Thu, 17 Sep 2015 17:13:42 +0100 +Subject: [PATCH 192/203] dwc_otg: Force host mode to fix incorrect compute + module boards + +--- + drivers/usb/host/dwc_otg/dwc_otg_cil.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/usb/host/dwc_otg/dwc_otg_cil.c ++++ b/drivers/usb/host/dwc_otg/dwc_otg_cil.c +@@ -192,7 +192,7 @@ dwc_otg_core_if_t *dwc_otg_cil_init(cons + 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); + } |