ipq806x: add kernel 4.14 support
[openwrt/openwrt.git] / target / linux / ipq806x / patches-4.14 / 0071-9-pcie-qcom-change-duplicate-pci-reset-to-phy-reset.patch
1 From 1a9c48123bd09f75562b6a2ee0f0a7b2d533cd45 Mon Sep 17 00:00:00 2001
2 From: Abhishek Sahu <absahu@codeaurora.org>
3 Date: Thu, 22 Dec 2016 11:50:49 +0530
4 Subject: pcie: qcom: change duplicate pci reset to phy reset
5
6 The deinit issues reset_control_assert for pci twice and
7 does not contain phy reset.
8
9 Change-Id: Iba849963c7e5f9a2a1063f0e2e89635df70b8a99
10 Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
11 ---
12 drivers/pci/host/pcie-qcom.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 --- a/drivers/pci/dwc/pcie-qcom.c
16 +++ b/drivers/pci/dwc/pcie-qcom.c
17 @@ -408,7 +408,7 @@
18 struct qcom_pcie_resources_2_1_0 *res = &pcie->res.v2_1_0;
19
20 clk_disable_unprepare(res->phy_clk);
21 - reset_control_assert(res->pci_reset);
22 + reset_control_assert(res->phy_reset);
23 reset_control_assert(res->axi_reset);
24 reset_control_assert(res->ahb_reset);
25 reset_control_assert(res->por_reset);