diff options
author | John Crispin <john@phrozen.org> | 2020-04-03 11:54:12 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2020-04-06 07:07:42 +0200 |
commit | 08df22e2abf053e2d5ddef6393fe26b277fa7d18 (patch) | |
tree | eaee171fe4eff4bf025215456ce0522552a43ca7 /target/linux/mediatek/patches-4.14/0128-usb-xhci-mtk-check-clock-stability-of-U3_MAC.patch | |
parent | e2ceb8dd93ace2e82fe136e1900b6830ac11049d (diff) | |
download | upstream-08df22e2abf053e2d5ddef6393fe26b277fa7d18.tar.gz upstream-08df22e2abf053e2d5ddef6393fe26b277fa7d18.tar.bz2 upstream-08df22e2abf053e2d5ddef6393fe26b277fa7d18.zip |
mediatek: drop v4.14 support
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/mediatek/patches-4.14/0128-usb-xhci-mtk-check-clock-stability-of-U3_MAC.patch')
-rw-r--r-- | target/linux/mediatek/patches-4.14/0128-usb-xhci-mtk-check-clock-stability-of-U3_MAC.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/target/linux/mediatek/patches-4.14/0128-usb-xhci-mtk-check-clock-stability-of-U3_MAC.patch b/target/linux/mediatek/patches-4.14/0128-usb-xhci-mtk-check-clock-stability-of-U3_MAC.patch deleted file mode 100644 index ebd0ea10dd..0000000000 --- a/target/linux/mediatek/patches-4.14/0128-usb-xhci-mtk-check-clock-stability-of-U3_MAC.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 4422c4efeed2a8b9fa745c6e529623d89c0be75e Mon Sep 17 00:00:00 2001 -From: Chunfeng Yun <chunfeng.yun@mediatek.com> -Date: Fri, 13 Oct 2017 16:26:35 +0800 -Subject: [PATCH 128/224] usb: xhci-mtk: check clock stability of U3_MAC - -This is useful to find out the root cause when the Super Speed doesn't -work. Such as when the T-PHY is switched to PCIe or SATA, and affects -Super Speed function, the check will fail. - -Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> -Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com> -Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ---- - drivers/usb/host/xhci-mtk.c | 4 ++++ - 1 file changed, 4 insertions(+) - ---- a/drivers/usb/host/xhci-mtk.c -+++ b/drivers/usb/host/xhci-mtk.c -@@ -43,6 +43,7 @@ - - /* ip_pw_sts1 register */ - #define STS1_IP_SLEEP_STS BIT(30) -+#define STS1_U3_MAC_RST BIT(16) - #define STS1_XHCI_RST BIT(11) - #define STS1_SYS125_RST BIT(10) - #define STS1_REF_RST BIT(8) -@@ -125,6 +126,9 @@ static int xhci_mtk_host_enable(struct x - check_val = STS1_SYSPLL_STABLE | STS1_REF_RST | - STS1_SYS125_RST | STS1_XHCI_RST; - -+ if (mtk->num_u3_ports) -+ check_val |= STS1_U3_MAC_RST; -+ - ret = readl_poll_timeout(&ippc->ip_pw_sts1, value, - (check_val == (value & check_val)), 100, 20000); - if (ret) { |