projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 5.4 to 5.4.60
[openwrt/openwrt.git]
/
target
/
linux
/
ipq806x
/
patches-5.4
/
093-1-v5.8-ipq806x-PCI-qcom-Add-missing-ipq806x-clocks-in-PCIe-driver.patch
diff --git
a/target/linux/ipq806x/patches-5.4/093-1-v5.8-ipq806x-PCI-qcom-Add-missing-ipq806x-clocks-in-PCIe-driver.patch
b/target/linux/ipq806x/patches-5.4/093-1-v5.8-ipq806x-PCI-qcom-Add-missing-ipq806x-clocks-in-PCIe-driver.patch
index 7eb79cae4d5976996859c0f4d39f3e97f3e22eab..6098cb8fe004efbcd3c9248fdd8b8de96716f43f 100644
(file)
--- a/
target/linux/ipq806x/patches-5.4/093-1-v5.8-ipq806x-PCI-qcom-Add-missing-ipq806x-clocks-in-PCIe-driver.patch
+++ b/
target/linux/ipq806x/patches-5.4/093-1-v5.8-ipq806x-PCI-qcom-Add-missing-ipq806x-clocks-in-PCIe-driver.patch
@@
-19,7
+19,7
@@
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
--- a/drivers/pci/controller/dwc/pcie-qcom.c
+++ b/drivers/pci/controller/dwc/pcie-qcom.c
--- a/drivers/pci/controller/dwc/pcie-qcom.c
+++ b/drivers/pci/controller/dwc/pcie-qcom.c
-@@ -
85,6 +85
,8 @@ struct qcom_pcie_resources_2_1_0 {
+@@ -
103,6 +103
,8 @@ struct qcom_pcie_resources_2_1_0 {
struct clk *iface_clk;
struct clk *core_clk;
struct clk *phy_clk;
struct clk *iface_clk;
struct clk *core_clk;
struct clk *phy_clk;
@@
-28,7
+28,7
@@
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
struct reset_control *pci_reset;
struct reset_control *axi_reset;
struct reset_control *ahb_reset;
struct reset_control *pci_reset;
struct reset_control *axi_reset;
struct reset_control *ahb_reset;
-@@ -2
35,6 +237
,14 @@ static int qcom_pcie_get_resources_2_1_0
+@@ -2
53,6 +255
,14 @@ static int qcom_pcie_get_resources_2_1_0
if (IS_ERR(res->phy_clk))
return PTR_ERR(res->phy_clk);
if (IS_ERR(res->phy_clk))
return PTR_ERR(res->phy_clk);
@@
-43,7
+43,7
@@
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
res->pci_reset = devm_reset_control_get_exclusive(dev, "pci");
if (IS_ERR(res->pci_reset))
return PTR_ERR(res->pci_reset);
res->pci_reset = devm_reset_control_get_exclusive(dev, "pci");
if (IS_ERR(res->pci_reset))
return PTR_ERR(res->pci_reset);
-@@ -2
67,6 +277
,8 @@ static void qcom_pcie_deinit_2_1_0(struc
+@@ -2
85,6 +295
,8 @@ static void qcom_pcie_deinit_2_1_0(struc
clk_disable_unprepare(res->iface_clk);
clk_disable_unprepare(res->core_clk);
clk_disable_unprepare(res->phy_clk);
clk_disable_unprepare(res->iface_clk);
clk_disable_unprepare(res->core_clk);
clk_disable_unprepare(res->phy_clk);
@@
-52,7
+52,7
@@
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
regulator_bulk_disable(ARRAY_SIZE(res->supplies), res->supplies);
}
regulator_bulk_disable(ARRAY_SIZE(res->supplies), res->supplies);
}
-@@ -
296,16 +308
,28 @@ static int qcom_pcie_init_2_1_0(struct q
+@@ -
315,16 +327
,28 @@ static int qcom_pcie_init_2_1_0(struct q
goto err_assert_ahb;
}
goto err_assert_ahb;
}
@@
-84,7
+84,7
@@
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
}
ret = reset_control_deassert(res->ahb_reset);
}
ret = reset_control_deassert(res->ahb_reset);
-@@ -
361,10 +385
,14 @@ static int qcom_pcie_init_2_1_0(struct q
+@@ -
400,10 +424
,14 @@ static int qcom_pcie_init_2_1_0(struct q
return 0;
err_deassert_ahb:
return 0;
err_deassert_ahb: