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

Commit 7cf939ba authored by tianrunlong's avatar tianrunlong Committed by lio.chen
Browse files

LCD: Fix open aod lcm unprepare not set backlight

Change-Id: I8c63b82b5a905c3d2037cfb36623da67e4c7be0a
parent 2ecbe055
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3640,7 +3640,6 @@ static void mtk_output_dsi_enable(struct mtk_dsi *dsi,
		return;
	}

	delay_first_set_backlight = true;
	crtc_idx = drm_crtc_index(crtc);
	CRTC_MMP_EVENT_START(crtc_idx, dsi_enable,
				(unsigned long)crtc, crtc_idx);
@@ -3685,6 +3684,8 @@ static void mtk_output_dsi_enable(struct mtk_dsi *dsi,
		return;
	}

	delay_first_set_backlight = true;

	if (dsi->panel) {
		DDP_PROFILE("[PROFILE] %s panel init start\n", __func__);
		if (((!dsi->doze_enabled && !dsi->pending_switch) || force_lcm_update)