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

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

Merge "mdss: dp: avoid notifying DP connect during AUX timeout cases"

parents 799bcf26 3071be29
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2176,6 +2176,10 @@ static int mdss_dp_process_hpd_high(struct mdss_dp_drv_pdata *dp)
	ret = mdss_dp_dpcd_cap_read(dp);
	if (ret || !mdss_dp_aux_is_link_rate_valid(dp->dpcd.max_link_rate) ||
		!mdss_dp_aux_is_lane_count_valid(dp->dpcd.max_lane_count)) {
		if (ret == EDP_AUX_ERR_TOUT) {
			pr_err("DPCD read timedout, skip connect notification\n");
			goto end;
		}
		/*
		 * If there is an error in parsing DPCD or if DPCD reports
		 * unsupported link parameters then set the default link