projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbbf71f
)
phy: qcom-qmp: fix PCIe PHY support
author
Dmitry Baryshkov
<dmitry.baryshkov@linaro.org>
Fri, 10 Jun 2022 18:55:42 +0000
(21:55 +0300)
committer
Vinod Koul
<vkoul@kernel.org>
Fri, 17 Jun 2022 00:38:06 +0000
(17:38 -0700)
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>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
patch
|
blob
|
history
diff --git
a/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
b/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
index bd9f71456e32d6306789ab30ed7d3cb5818565ba..b2cd0cf965d83ec25fcce35dd3d371e7716a5d29 100644
(file)
--- a/
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
+++ b/
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
@@
-2141,8
+2141,8
@@
static int phy_pipe_clk_register(struct qcom_qmp *qmp, struct device_node *np)
}
static const struct phy_ops qcom_qmp_phy_pcie_ops = {
- .
init
= qcom_qmp_phy_pcie_enable,
- .
exit
= qcom_qmp_phy_pcie_disable,
+ .
power_on
= qcom_qmp_phy_pcie_enable,
+ .
power_off
= qcom_qmp_phy_pcie_disable,
.set_mode = qcom_qmp_phy_pcie_set_mode,
.owner = THIS_MODULE,
};