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

Commit 14c384f4 authored by Ajay Singh Parmar's avatar Ajay Singh Parmar Committed by Steve Cohen
Browse files

drm/msm/dp: clear bootup event notifier on power on



The bootup notifier is hooked up with the framework. Clear
the notifier once the DisplayPort has powered up. This avoids
framework to issue duplicate notification on cable connect or
disconnect.

Change-Id: Ifc424ee7048b8822eb4ffc5b91cf1e58013b7f6f
CRs-Fixed: 2133563
Signed-off-by: default avatarAjay Singh Parmar <aparmar@codeaurora.org>
parent a4ef43a7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1003,8 +1003,10 @@ static int dp_display_post_enable(struct dp_display *dp_display)
		dp->hdcp_status = HDCP_STATE_AUTHENTICATING;
		queue_delayed_work(dp->wq, &dp->hdcp_cb_work, HZ / 2);
	}

end:
	/* clear framework event notifier */
	dp_display->send_hpd_event = NULL;

	complete_all(&dp->notification_comp);
	mutex_unlock(&dp->session_lock);
	return 0;