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

Commit 08e6b9f3 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/sde: fix the sui in-progress check"

parents 51ef9ffc 4a94d5bb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -374,7 +374,8 @@ static inline bool sde_kms_is_secure_session_inprogress(struct sde_kms *sde_kms)
		return false;

	mutex_lock(&sde_kms->secure_transition_lock);
	if (sde_kms->smmu_state.state == DETACHED)
	if ((sde_kms->smmu_state.state == DETACHED)
		|| (sde_kms->smmu_state.state == DETACH_ALL_REQ))
		ret = true;
	mutex_unlock(&sde_kms->secure_transition_lock);