disp: msm: dsi: snapshot of dsi from 4.14 to 4.19
This change is a snapshot of dsi files taken of 4.14 as of commit 764f7c2 (Merge remote-tracking branch 'quic/dev/msm-4.14-display' into msm-4.14) Change-Id: I8361a844c35a4450f7800964a8da2741676fd6c7 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
91f4bcda9d
commit
edef6ae040
@@ -1272,23 +1272,15 @@ static int dsi_display_link_clk_force_update(void *client)
|
||||
goto error;
|
||||
}
|
||||
|
||||
rc = dsi_display_link_clk_disable(l_clks,
|
||||
(DSI_LINK_LP_CLK | DSI_LINK_HS_CLK),
|
||||
mngr->dsi_ctrl_count, mngr->master_ndx);
|
||||
if (rc) {
|
||||
pr_err("%s, failed to stop link clk, rc = %d\n",
|
||||
__func__, rc);
|
||||
rc = dsi_clk_update_link_clk_state(mngr, l_clks, (DSI_LINK_LP_CLK |
|
||||
DSI_LINK_HS_CLK), DSI_CLK_OFF, false);
|
||||
if (rc)
|
||||
goto error;
|
||||
}
|
||||
|
||||
rc = dsi_display_link_clk_enable(l_clks,
|
||||
(DSI_LINK_LP_CLK | DSI_LINK_HS_CLK),
|
||||
mngr->dsi_ctrl_count, mngr->master_ndx);
|
||||
if (rc) {
|
||||
pr_err("%s, failed to start link clk rc= %d\n",
|
||||
__func__, rc);
|
||||
rc = dsi_clk_update_link_clk_state(mngr, l_clks, (DSI_LINK_LP_CLK |
|
||||
DSI_LINK_HS_CLK), DSI_CLK_ON, true);
|
||||
if (rc)
|
||||
goto error;
|
||||
}
|
||||
|
||||
error:
|
||||
mutex_unlock(&mngr->clk_mutex);
|
||||
|
Reference in New Issue
Block a user