mediatek: fix pcie bringup issue
authorJohn Crispin <john@phrozen.org>
Thu, 5 Dec 2019 09:22:56 +0000 (10:22 +0100)
committerJohn Crispin <john@phrozen.org>
Thu, 5 Dec 2019 14:29:46 +0000 (15:29 +0100)
Signed-off-by: John Crispin <john@phrozen.org>
target/linux/mediatek/patches-4.19/0101-pci-mediatek-backport-fix-pcie.patch

index 009eedb583de792c36c027daf82799436735143e..9afcedaa771a8aa39f29111393cc3a541b11e628 100644 (file)
  
        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;
  }