diff options
author | Ji Soo Shin <jisshin@google.com> | 2023-05-31 12:17:09 +0200 |
---|---|---|
committer | Ji Soo Shin <jisshin@google.com> | 2023-05-31 12:18:47 +0200 |
commit | 7ede2c0931071935657e37d6caa6d3b023c6ecf0 (patch) | |
tree | d22b131c850957d2790ec26c2dc37114c45f928c | |
parent | e712d4c25dbea9d464a3a3c0ece423e77bdd7f72 (diff) | |
download | samsung-7ede2c0931071935657e37d6caa6d3b023c6ecf0.tar.gz |
hdcp: abort during compare_xprime routines
Bug: 285100547
Change-Id: Ie1d5cfaa09ff275d98c7e7a866bd497811d9c8a3
Signed-off-by: Ji Soo Shin <jisshin@google.com>
-rw-r--r-- | auth13.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,7 +72,7 @@ static int compare_rprime(void) ri_retry_cnt++; usleep_range(RI_DELAY * 1000, RI_DELAY * 1000 + 1); } - while (ri_retry_cnt < RI_READ_RETRY_CNT); + while (ri_retry_cnt < RI_READ_RETRY_CNT && !is_aborted); return -EFAULT; } @@ -168,7 +168,7 @@ static int proceed_repeater(void) hdcp_err("Vprime read failed (%d)\n", ret); v_read_retry_cnt++; - } while(v_read_retry_cnt < V_READ_RETRY_CNT); + } while(v_read_retry_cnt < V_READ_RETRY_CNT && !is_aborted); hdcp_err("2nd Auth fail!!!\n"); return -EIO; |