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

This commit is contained in:
Linux Build Service Account 2017-07-07 17:45:51 -07:00 committed by Gerrit - the friendly Code Review server
commit 209c402fa5

View file

@ -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