disp: msm: dp: reduce hdcp error level for inactive state

During an HPD, HDCP IRQ handler prints error log and exit
if HDCP state is inactive or authentication failure.
Inactive state is a benign error and auth failure will be
reported by hdcp kernel module. This change will downgrade
this error log to debug log.

Change-Id: I2a64e3c94a6661db70e93d07f5e3608202fe8871
Signed-off-by: Sandeep Gangadharaiah <sandgang@codeaurora.org>
This commit is contained in:
Sandeep Gangadharaiah
2021-11-08 21:02:12 -05:00
parent cb24fd2bc6
commit 1025b3c40a

View File

@@ -680,7 +680,7 @@ static int dp_hdcp2p2_cp_irq(void *input)
if (atomic_read(&ctrl->auth_state) == HDCP_STATE_AUTH_FAIL ||
atomic_read(&ctrl->auth_state) == HDCP_STATE_INACTIVE) {
DP_ERR("invalid hdcp state\n");
DP_DEBUG("invalid hdcp state\n");
return -EINVAL;
}