From 5345bc79e671eec35c17607a01b43a42954c68e4 Mon Sep 17 00:00:00 2001 From: Narender Ankam Date: Mon, 8 Jul 2019 16:16:13 +0530 Subject: msm: mdss: hdcp: set hdcpsrm_supported flag correctly If hdcp1 TA fails to load, set hdcpsrm_supported flag to false instead of its default true value. Change-Id: I9aa359afcb2fca6ef307dc8eeeb254b760313e8d Signed-off-by: Narender Ankam Signed-off-by: Ramendra Kumar --- drivers/misc/hdcp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/misc/hdcp.c b/drivers/misc/hdcp.c index cc11ede6a456..be5621a0966d 100644 --- a/drivers/misc/hdcp.c +++ b/drivers/misc/hdcp.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. +/* Copyright (c) 2015-2020, 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 @@ -2338,6 +2338,7 @@ bool hdcp1_check_if_supported_load_app(void) if (rc) { pr_err("hdcp1 qseecom_start_app failed %d\n", rc); hdcp1_supported = false; + hdcp1_srm_supported = false; kfree(hdcp1_handle); } } -- cgit v1.2.3