Commit fbbf71f3 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Vinod Koul
Browse files

phy: qcom-qmp: fix msm8996 PCIe PHY support



Replace init/exit ops with power_on/power_off which should be used for
the PCIe PHYs to fix PHY initialization.

Fixes: f575ac2d ("phy: qcom-qmp-pcie-msm8996: drop support for non-PCIe PHY types")
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220610185542.3662484-2-dmitry.baryshkov@linaro.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 4daa43e9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -854,8 +854,8 @@ static int phy_pipe_clk_register(struct qcom_qmp *qmp, struct device_node *np)
}

static const struct phy_ops qcom_qmp_phy_pcie_msm8996_ops = {
	.init		= qcom_qmp_phy_pcie_msm8996_enable,
	.exit		= qcom_qmp_phy_pcie_msm8996_disable,
	.power_on	= qcom_qmp_phy_pcie_msm8996_enable,
	.power_off	= qcom_qmp_phy_pcie_msm8996_disable,
	.set_mode	= qcom_qmp_phy_pcie_msm8996_set_mode,
	.owner		= THIS_MODULE,
};