Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Dmitry Baryshkov and committed by
Vinod Koul
fbbf71f3 4daa43e9

+2 -2
+2 -2
drivers/phy/qualcomm/phy-qcom-qmp-pcie-msm8996.c
··· 854 854 } 855 855 856 856 static const struct phy_ops qcom_qmp_phy_pcie_msm8996_ops = { 857 - .init = qcom_qmp_phy_pcie_msm8996_enable, 858 - .exit = qcom_qmp_phy_pcie_msm8996_disable, 857 + .power_on = qcom_qmp_phy_pcie_msm8996_enable, 858 + .power_off = qcom_qmp_phy_pcie_msm8996_disable, 859 859 .set_mode = qcom_qmp_phy_pcie_msm8996_set_mode, 860 860 .owner = THIS_MODULE, 861 861 };