Merge "disp: msm: dsi: check bit clock before bypassing clock set during DMS"

This commit is contained in:
qctecmdr 2019-10-31 18:39:32 -07:00 • committed by Gerrit - the friendly Code Review server
commit ccb7c76483

View file

@ -4520,7 +4520,7 @@ static int dsi_display_set_mode_sub(struct dsi_display *display,
commit_phy_timing = true;
/* No need to set clkrate pending flag if clocks are same */
if (cur_bitclk != to_bitclk)
if ((!cur_bitclk && !to_bitclk) || (cur_bitclk != to_bitclk))
atomic_set(&display->clkrate_change_pending, 1);
dsi_display_validate_dms_fps(display->panel->cur_mode, mode);