summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJi Soo Shin <jisshin@google.com>2023-09-14 08:31:24 +0200
committerJi Soo Shin <jisshin@google.com>2023-09-14 08:32:45 +0200
commite44a5d8d0dc3fa52ff5ce08d316f70773633929b (patch)
treed62701f42372fb29af5e1dfcd11106d5dc017d0c
parentae9b26f11fd2ad2acccc0aed2bf0a031af67bb11 (diff)
downloadsamsung-android-gs-shusky-5.15-android14-qpr1-beta.tar.gz
Per analysis in b/285943080, it is suggested that we have increased time between DP and HDCP trigger as it can cause mirror image to not show off correctly depending on timing. Bug: 285943080 Change-Id: I39e7b0f9d74fb420b3cad22d9c3a959b88cefeff Signed-off-by: Ji Soo Shin <jisshin@google.com>
-rw-r--r--auth-control.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/auth-control.c b/auth-control.c
index b42db4b..bcd2d2d 100644
--- a/auth-control.c
+++ b/auth-control.c
@@ -20,6 +20,8 @@
#include "hdcp-log.h"
#include "teeif.h"
+#define HDCP_SCHEDULE_DELAY_MSEC (5000)
+
static struct delayed_work hdcp_work;
static enum auth_state state;
@@ -112,7 +114,7 @@ void hdcp_dplink_connect_state(enum dp_state dp_hdcp_state) {
return;
}
- schedule_delayed_work(&hdcp_work, msecs_to_jiffies(2000));
+ schedule_delayed_work(&hdcp_work, msecs_to_jiffies(HDCP_SCHEDULE_DELAY_MSEC));
return;
}
EXPORT_SYMBOL_GPL(hdcp_dplink_connect_state);