summaryrefslogtreecommitdiff
path: root/drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2022-06-10 21:55:41 +0300
committerVinod Koul <vkoul@kernel.org>2022-06-17 03:38:06 +0300
commitfbbf71f3740939c44dfb5411e2daf3bf0d8e8f41 (patch)
tree3837d113c02020f5b2fd6db2efcb4811b3a11a38 /drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
parent4daa43e92eaeb2c1df3ad8274b81601305875ced (diff)
downloadlinux-fbbf71f3740939c44dfb5411e2daf3bf0d8e8f41.tar.xz
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: f575ac2d64e7 ("phy: qcom-qmp-pcie-msm8996: drop support for non-PCIe PHY types") Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20220610185542.3662484-2-dmitry.baryshkov@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c')
-rw-r--r--drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c b/drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
index 48ea1de81d7c..21103c41ba08 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
@@ -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,
};