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

Commit 9c4ed4a1 authored by Tatenda Chipeperekwa's avatar Tatenda Chipeperekwa
Browse files

drm/msm/dp: fix handling of unsupported IRQ requests



Fix the handling of unsupported IRQ requests by making these
requests no-ops. This will prevent the DisplayPort driver
from entering into a loop in which the display is repeatedly
powered on unnecessarily.

CRs-Fixed: 2094794
Change-Id: I4eabfb6e50ac405a9ae1110841adc178822e0084
Signed-off-by: default avatarTatenda Chipeperekwa <tatendac@codeaurora.org>
parent 8ce1d5ff
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -668,13 +668,12 @@ static int dp_display_usbpd_attention_cb(struct device *dev)

		rc = dp->link->process_request(dp->link);
		/* check for any test request issued by sink */
		if (!rc) {
		if (!rc)
			dp_display_handle_hpd_irq(dp);

		dp->hpd_irq_on = false;
		goto end;
	}
		dp->hpd_irq_on = false;
	}

	if (!dp->usbpd->hpd_high) {
		dp_display_process_hpd_low(dp);