aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-12-05 10:22:56 +0100
committerJohn Crispin <john@phrozen.org>2019-12-05 15:29:46 +0100
commita512123a4bef7a83cc2d9dd64f7f8cfb1c3a7bf5 (patch)
treeda3edec29927d794c65cb2f95b53088b519d35a3 /target/linux
parent82a8f91c895b2463814eaa22902c755578f94637 (diff)
downloadupstream-a512123a4bef7a83cc2d9dd64f7f8cfb1c3a7bf5.tar.gz
upstream-a512123a4bef7a83cc2d9dd64f7f8cfb1c3a7bf5.tar.bz2
upstream-a512123a4bef7a83cc2d9dd64f7f8cfb1c3a7bf5.zip
mediatek: fix pcie bringup issue
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/mediatek/patches-4.19/0101-pci-mediatek-backport-fix-pcie.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-4.19/0101-pci-mediatek-backport-fix-pcie.patch b/target/linux/mediatek/patches-4.19/0101-pci-mediatek-backport-fix-pcie.patch
index 009eedb583..9afcedaa77 100644
--- a/target/linux/mediatek/patches-4.19/0101-pci-mediatek-backport-fix-pcie.patch
+++ b/target/linux/mediatek/patches-4.19/0101-pci-mediatek-backport-fix-pcie.patch
@@ -362,6 +362,15 @@
return err;
}
+@@ -1122,8 +1122,6 @@
+ return err;
+
+ err = devm_pci_remap_iospace(dev, &pcie->pio, pcie->io.start);
+- if (err)
+- return err;
+
+ return 0;
+ }
@@ -1127,34 +1128,6 @@ static int mtk_pcie_request_resources(st
return 0;
}