kernel: bump 4.19 to 4.19.91
[openwrt/staging/wigyori.git] / target / linux / ipq806x / patches-4.19 / 0071-6-PCI-qcom-Force-GEN1-support.patch
index 90b232f8b7e86ae3eddc1d1f41e4e7c26cfe3dec..c1461e68c270666e10c3357fbbe84bfb36e185ca 100644 (file)
@@ -38,7 +38,7 @@ Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
  
  
        /* Set the Max TLP size to 2K, instead of using default of 4K */
-@@ -1369,6 +1377,8 @@ static int qcom_pcie_probe(struct platfo
+@@ -1367,6 +1375,8 @@ static int qcom_pcie_probe(struct platfo
        struct dw_pcie *pci;
        struct qcom_pcie *pcie;
        int ret;
@@ -47,13 +47,13 @@ Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
  
        pcie = devm_kzalloc(dev, sizeof(*pcie), GFP_KERNEL);
        if (!pcie)
-@@ -1391,6 +1401,9 @@ static int qcom_pcie_probe(struct platfo
-       if (IS_ERR(pcie->reset))
-               return PTR_ERR(pcie->reset);
+@@ -1397,6 +1407,9 @@ static int qcom_pcie_probe(struct platfo
+               goto err_pm_runtime_put;
+       }
  
 +      of_property_read_u32(np, "force_gen1", &force_gen1);
 +      pcie->force_gen1 = force_gen1;
 +
        res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "parf");
        pcie->parf = devm_ioremap_resource(dev, res);
-       if (IS_ERR(pcie->parf))
+       if (IS_ERR(pcie->parf)) {