From: John Crispin Date: Thu, 5 Dec 2019 09:22:56 +0000 (+0100) Subject: mediatek: fix pcie bringup issue X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a512123a4bef7a83cc2d9dd64f7f8cfb1c3a7bf5;p=openwrt%2Fstaging%2Fthess.git mediatek: fix pcie bringup issue Signed-off-by: John Crispin --- 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; }