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

Commit c0608989 authored by Chong Gu's avatar Chong Gu
Browse files

drm/msm/dsi-staging: do not init ext bridge for dsi panel



external bridge is not needed in case of dsi panel,
check if there is ext_bridge_mode defined.

Signed-off-by: default avatarChong Gu <chongu@codeaurora.org>
Change-Id: I8db5d0cb5ae4521c2e7174a39522fb5d0340d9de
parent 4b54d9aa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5211,7 +5211,8 @@ int dsi_display_drm_ext_bridge_init(struct dsi_display *display,
		return 0;

	/* check if there is no external bridge defined */
	if (!display->ext_bridge_of)
	if (!display->ext_bridge_of ||
		!display->panel->host_config.ext_bridge_mode)
		return 0;

	ext_bridge = of_drm_find_bridge(display->ext_bridge_of);