mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "disp: msm: hdcp: update encryption level on framework request"
This commit is contained in:
commit
1cf6ef4a2c
1 changed files with 5 additions and 1 deletions
|
|
@ -822,7 +822,6 @@ static int sde_hdcp_2x_wakeup(struct sde_hdcp_2x_wakeup_data *data)
|
|||
|
||||
hdcp->timeout_left = data->timeout;
|
||||
hdcp->total_message_length = data->total_message_length;
|
||||
hdcp->min_enc_level = data->min_enc_level;
|
||||
|
||||
if (!completion_done(&hdcp->response_completion))
|
||||
complete_all(&hdcp->response_completion);
|
||||
|
|
@ -875,6 +874,11 @@ static int sde_hdcp_2x_wakeup(struct sde_hdcp_2x_wakeup_data *data)
|
|||
wake_up(&hdcp->wait_q);
|
||||
}
|
||||
break;
|
||||
case HDCP_2X_CMD_MIN_ENC_LEVEL:
|
||||
hdcp->min_enc_level = data->min_enc_level;
|
||||
kfifo_put(&hdcp->cmd_q, data->cmd);
|
||||
wake_up(&hdcp->wait_q);
|
||||
break;
|
||||
default:
|
||||
kfifo_put(&hdcp->cmd_q, data->cmd);
|
||||
wake_up(&hdcp->wait_q);
|
||||
|
|
|
|||
Loading…
Reference in a new issue