aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c
diff options
context:
space:
mode:
authorHarigovindan P <[email protected]>2020-02-06 08:56:15 +0000
committerRob Clark <[email protected]>2020-02-13 21:49:20 +0000
commita1028dcfd0dd97884072288d0c8ed7f30399b528 (patch)
treea6b3b9be2bea7d5ac2303acc39e40469511ec452 /drivers/gpu/drm/msm/dsi/phy/dsi_phy.c
parentdrm/msm: Fix a6xx GMU shutdown sequence (diff)
downloadkernel-a1028dcfd0dd97884072288d0c8ed7f30399b528.tar.gz
kernel-a1028dcfd0dd97884072288d0c8ed7f30399b528.zip
drm/msm/dsi: save pll state before dsi host is powered off
Save pll state before dsi host is powered off. Without this change some register values gets resetted. Signed-off-by: Harigovindan P <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/msm/dsi/phy/dsi_phy.c')
-rw-r--r--drivers/gpu/drm/msm/dsi/phy/dsi_phy.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c
index b0cfa67d2a57..f509ebd77500 100644
--- a/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c
+++ b/drivers/gpu/drm/msm/dsi/phy/dsi_phy.c
@@ -724,10 +724,6 @@ void msm_dsi_phy_disable(struct msm_dsi_phy *phy)
if (!phy || !phy->cfg->ops.disable)
return;
- /* Save PLL status if it is a clock source */
- if (phy->usecase != MSM_DSI_PHY_SLAVE)
- msm_dsi_pll_save_state(phy->pll);
-
phy->cfg->ops.disable(phy);
dsi_phy_regulator_disable(phy);