Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ccb7c764 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 9ffff1ad c404a2f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);