Merge "msm: mdss: dsi: fix the check for PLL off when turning off PHY"
This commit is contained in:
commit
c3b0ac1e39
1 changed files with 2 additions and 2 deletions
|
@ -95,12 +95,12 @@ static bool mdss_dsi_phy_v3_is_pll_on(struct mdss_dsi_ctrl_pdata *ctrl)
|
|||
if (mdss_dsi_is_ctrl_clk_slave(ctrl))
|
||||
return false;
|
||||
|
||||
data = DSI_PHY_R32(ctrl->phy_io.base, CMN_CTRL_0);
|
||||
data = DSI_PHY_R32(ctrl->phy_io.base, CMN_PLL_CNTRL);
|
||||
|
||||
/* Make sure the register has been read prior to checking the status */
|
||||
mb();
|
||||
|
||||
return (data & BIT(5));
|
||||
return (data & BIT(0));
|
||||
}
|
||||
|
||||
static void mdss_dsi_phy_v3_set_pll_source(
|
||||
|
|
Loading…
Add table
Reference in a new issue