From a512123a4bef7a83cc2d9dd64f7f8cfb1c3a7bf5 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 5 Dec 2019 10:22:56 +0100 Subject: [PATCH] mediatek: fix pcie bringup issue Signed-off-by: John Crispin --- .../0101-pci-mediatek-backport-fix-pcie.patch | 9 +++++++++ 1 file changed, 9 insertions(+) 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; } -- 2.30.2