Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10626a0 commit 3b64e1cCopy full SHA for 3b64e1c
drivers/phy/qualcomm/phy-qcom-qmp.c
@@ -751,8 +751,6 @@ static int qcom_qmp_phy_poweroff(struct phy *phy)
751
struct qmp_phy *qphy = phy_get_drvdata(phy);
752
struct qcom_qmp *qmp = qphy->qmp;
753
754
- clk_disable_unprepare(qphy->pipe_clk);
755
-
756
regulator_bulk_disable(qmp->cfg->num_vregs, qmp->vregs);
757
758
return 0;
@@ -936,6 +934,8 @@ static int qcom_qmp_phy_exit(struct phy *phy)
936
934
const struct qmp_phy_cfg *cfg = qmp->cfg;
937
935
int i = cfg->num_clks;
938
+ clk_disable_unprepare(qphy->pipe_clk);
+
939
/* PHY reset */
940
qphy_setbits(qphy->pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);
941
0 commit comments