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: Casey Piper <cpiper@codeaurora.org>
This commit is contained in:
parent
bed2a7d69d
commit
63e88a36a2
1 changed files with 4 additions and 0 deletions
|
@ -541,6 +541,10 @@ static void hdcp2p2_reset(struct hdcp2p2_ctrl *hdcp2p2_ctrl)
|
||||||
hdcp2p2_ctrl->hdcp_lib_handle);
|
hdcp2p2_ctrl->hdcp_lib_handle);
|
||||||
hdcp2p2_ctrl->hdcp_txmtr_init = false;
|
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);
|
mutex_unlock(&hdcp2p2_ctrl->mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue