Merge "disp: msm: Ensure clean slate when starting and stopping HDCP"

This commit is contained in:
qctecmdr
2019-05-06 21:06:29 -07:00
committed by Gerrit - the friendly Code Review server
3 changed files with 16 additions and 5 deletions

View File

@@ -387,12 +387,12 @@ static void dp_display_hdcp_cb_work(struct work_struct *work)
return;
}
dp_display_hdcp_register_streams(dp);
status->hdcp_state = HDCP_STATE_AUTHENTICATING;
if (ops && ops->reauthenticate) {
rc = ops->reauthenticate(data);
if (rc)
pr_err("failed rc=%d\n", rc);
}
status->hdcp_state = HDCP_STATE_AUTHENTICATING;
} else {
pr_debug("not reauthenticating, cable disconnected\n");
}