diff options
author | John Crispin <john@phrozen.org> | 2019-12-05 10:22:56 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2019-12-05 15:29:46 +0100 |
commit | a512123a4bef7a83cc2d9dd64f7f8cfb1c3a7bf5 (patch) | |
tree | da3edec29927d794c65cb2f95b53088b519d35a3 /target/linux/mediatek/patches-4.19/0101-pci-mediatek-backport-fix-pcie.patch | |
parent | 82a8f91c895b2463814eaa22902c755578f94637 (diff) | |
download | upstream-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/mediatek/patches-4.19/0101-pci-mediatek-backport-fix-pcie.patch')
-rw-r--r-- | target/linux/mediatek/patches-4.19/0101-pci-mediatek-backport-fix-pcie.patch | 9 |
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; } |