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

Commit 14127938 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/hdcp: Check QSEECOM response only if message length is not 0"...

Merge "drm/msm/hdcp: Check QSEECOM response only if message length is not 0" into dev/msm-4.14-display
parents ce520338 66760a1c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -749,6 +749,9 @@ static void sde_hdcp_2x_msg_recvd(struct sde_hdcp_2x_ctrl *hdcp)
		goto exit;
	}

	if (hdcp->app_data.response.length == 0)
		out_msg = INVALID_MESSAGE;
	else
		out_msg = (u32)hdcp->app_data.response.data[0];

	pr_debug("message received from TZ: %s\n",