Merge "msm: mdss: hdcp: handle hdcp off gracefully"
This commit is contained in:
commit
982ba8be16
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2010-2017, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2010-2017, 2019, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
@ -3742,7 +3742,8 @@ static int hdmi_tx_hdcp_off(struct hdmi_tx_ctrl *hdmi_ctrl)
|
|||
DEV_DBG("%s: Turning off HDCP\n", __func__);
|
||||
hdmi_ctrl->hdcp_ops->off(hdmi_ctrl->hdcp_data);
|
||||
|
||||
flush_delayed_work(&hdmi_ctrl->hdcp_cb_work);
|
||||
hdmi_ctrl->hdcp_status = HDCP_STATE_INACTIVE;
|
||||
cancel_delayed_work(&hdmi_ctrl->hdcp_cb_work);
|
||||
|
||||
hdmi_ctrl->hdcp_ops = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue