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

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

Merge "msm: mdss: Prevent HDMI panels from doing AD checks"

parents 8cd92729 90a9c1f1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3901,6 +3901,11 @@ static int mdss_ad_init_checks(struct msm_fb_data_type *mfd)
		return -ENODEV;
	}

	if (ad_mfd->panel_info->type == DTV_PANEL) {
		pr_debug("AD not supported on external display\n");
		return ret;
	}

	mixer_num = mdss_mdp_get_ctl_mixers(ad_mfd->index, mixer_id);
	if (!mixer_num) {
		pr_debug("no mixers connected, %d", mixer_num);