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

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

Merge "drm/msm/dp: check if framework is ready before notifying DP connect"

parents 19435506 2165a924
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -787,6 +787,12 @@ static int dp_display_usbpd_attention_cb(struct device *dev)
		return -ENODEV;
	}

	/* check if framework is ready */
	if (!dp_display_framework_ready(dp)) {
		pr_err("framework not ready\n");
		return -ENODEV;
	}

	if (dp->usbpd->hpd_irq && dp->usbpd->hpd_high &&
	    dp->power_on) {
		dp->link->process_request(dp->link);