mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
f003d732d7
Refreshed all patches. Removed upstreamed: - 031-v5.0-MIPS-BCM47XX-Setup-struct-device-for-the-SoC.patch - 142-jffs2-Fix-use-of-uninitialized-delayed_work-lockdep-.patch Removed upstreamed hunk in: - 800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
28 lines
947 B
Diff
28 lines
947 B
Diff
From b9d300b5aea18f2e992201d182d939030130aab2 Mon Sep 17 00:00:00 2001
|
|
From: Hans Ulli Kroll <ulli.kroll@googlemail.com>
|
|
Date: Sat, 14 Apr 2018 18:49:57 +0200
|
|
Subject: [PATCH 17/18] usb: host: fotg2: restart hcd after port reset
|
|
|
|
on Gemini SoC FOTG2 stalls after port reset
|
|
rerstart the hcd.
|
|
|
|
Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
|
|
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
|
---
|
|
drivers/usb/host/fotg210-hcd.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
--- a/drivers/usb/host/fotg210-hcd.c
|
|
+++ b/drivers/usb/host/fotg210-hcd.c
|
|
@@ -1633,6 +1633,10 @@ static int fotg210_hub_control(struct us
|
|
/* see what we found out */
|
|
temp = check_reset_complete(fotg210, wIndex, status_reg,
|
|
fotg210_readl(fotg210, status_reg));
|
|
+
|
|
+ /* restart schedule */
|
|
+ fotg210->command |= CMD_RUN;
|
|
+ fotg210_writel(fotg210, fotg210->command, &fotg210->regs->command);
|
|
}
|
|
|
|
if (!(temp & (PORT_RESUME|PORT_RESET))) {
|