mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
e2aa0c3f8b
Refreshed all patches Dropped upstreamed patches: 522-PCI-aardvark-fix-logic-in-PCI-configuration-read-write-functions.patch 523-PCI-aardvark-set-PIO_ADDR_LS-correctly-in-advk_pcie_rd_conf.patch 525-PCI-aardvark-use-isr1-instead-of-isr0-interrupt-in-legacy-irq-mode.patch 527-PCI-aardvark-fix-PCIe-max-read-request-size-setting.patch updated patches: 524-PCI-aardvark-set-host-and-device-to-the-same-MAX-payload-size.patch 030-USB-serial-option-fix-dwm-158-3g-modem-interface.patch Added new ARM64 symbol: CONFIG_ARM64_ERRATUM_1024718 Compile-tested on: cns3xxx, imx6, mvebu (arm64), x86_64 Runtime-tested on: cns3xxx, imx6, x86_64 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
27 lines
889 B
Diff
27 lines
889 B
Diff
From 731a2896e11b4e6a8d252e6c14edb1b09dbfcd46 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 1/2] 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>
|
|
---
|
|
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
|
|
@@ -1658,6 +1658,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))) {
|