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

Commit 685f8e1d authored by RAJAT GUPTA's avatar RAJAT GUPTA
Browse files

drm/msm/dp: do a force dp_clean while dp disconnect



During connect notification timeout, a disconnect happens 
which also sends a disconnect notification to userspace
before post_enable which completes the semaphore early
and is leading to unclean deinit. USB performs a phy
reset during disconnect. On second connect, dp_host_init
finds core initialized thus creating a noc error while
accessing lclk.

Change-Id: I8c0fe6e9b0bf7c16cb996e534eee883957dc02d4
Signed-off-by: default avatarRAJAT GUPTA <rajatgu@codeaurora.org>
parent fa96a4c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1001,7 +1001,7 @@ static int dp_display_handle_disconnect(struct dp_display_private *dp)
	}

	mutex_lock(&dp->session_lock);
	if (rc && dp->power_on)
	if (dp->power_on)
		dp_display_clean(dp);

	dp_display_host_deinit(dp);