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

Commit 06460300 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mdss: display: initialize panel_mode at mdss_dsi_ctrl_init"

parents b20beb2d 45b5d8c1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -90,6 +90,8 @@ void mdss_dsi_ctrl_init(struct mdss_dsi_ctrl_pdata *ctrl)
		ctrl->ndx = DSI_CTRL_1;
	}

	ctrl->panel_mode = ctrl->panel_data.panel_info.mipi.mode;

	ctrl_list[ctrl->ndx] = ctrl;	/* keep it */

	if (ctrl->shared_pdata.broadcast_enable)
@@ -267,8 +269,6 @@ void mdss_dsi_host_init(struct mipi_panel_info *pinfo,

	pinfo->rgb_swap = DSI_RGB_SWAP_RGB;

	ctrl_pdata->panel_mode = pinfo->mode;

	if (pinfo->mode == DSI_VIDEO_MODE) {
		data = 0;
		if (pinfo->pulse_mode_hsa_he)