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 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: da07a06b905f ("phy: qcom-qmp-pcie: drop support for non-PCIe PHY types")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220610185542.3662484-3-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Dmitry Baryshkov and committed by
Vinod Koul
5bef2838 fbbf71f3

+2 -2
+2 -2
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
··· 2141 2141 } 2142 2142 2143 2143 static const struct phy_ops qcom_qmp_phy_pcie_ops = { 2144 - .init = qcom_qmp_phy_pcie_enable, 2145 - .exit = qcom_qmp_phy_pcie_disable, 2144 + .power_on = qcom_qmp_phy_pcie_enable, 2145 + .power_off = qcom_qmp_phy_pcie_disable, 2146 2146 .set_mode = qcom_qmp_phy_pcie_set_mode, 2147 2147 .owner = THIS_MODULE, 2148 2148 };