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

Commit f65b26be authored by Casey Piper's avatar Casey Piper
Browse files

msm: mdss: hdmi: unload HDCP 2.2 TZ app when resetting



Whenever we disconnect HDMI or are performing a
reauthentication of HDCP 2.2, unload the HDCP
2.2 TZ app so the state of the app is completely
reset.

Change-Id: I4696c373b027e38eaa95a345c65a61c1d7f1bd2d
Signed-off-by: default avatarCasey Piper <cpiper@codeaurora.org>
parent 75d530af
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -541,6 +541,10 @@ static void hdcp2p2_reset(struct hdcp2p2_ctrl *hdcp2p2_ctrl)
				hdcp2p2_ctrl->hdcp_lib_handle);
		hdcp2p2_ctrl->hdcp_txmtr_init = false;
	}
	if (hdcp2p2_ctrl->hdcp_library_init) {
		hdcp_library_deinit(hdcp2p2_ctrl->hdcp_lib_handle);
		hdcp2p2_ctrl->hdcp_library_init = false;
	}
	mutex_unlock(&hdcp2p2_ctrl->mutex);
}