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

Commit ebdbaf90 authored by Steve Cohen's avatar Steve Cohen
Browse files

drm/msm/dp: specify return code for DP HDCP 2.2 init with HDCP disabled



Ensure that all code paths in sde_dp_hdcp2p2_init return a valid
value.  When HDCP is disabled, return a NULL pointer to signal the
error to the caller.

Change-Id: Idd0fe626022d48cb2ac2024a7b5645dc6600e883
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent 98cd82ec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -869,6 +869,7 @@ void *sde_dp_hdcp2p2_init(struct sde_hdcp_init_data *init_data)
			goto error;
		}
	} else {
		rc = 0;
		goto error;
	}