From 699c99b199ca955e84402d5bef45ec19b7bcd877 Mon Sep 17 00:00:00 2001 From: Yong Qin Date: Mon, 7 Jan 2019 15:59:00 +0800 Subject: [PATCH] cec: too more log when cec bus error [1/1] PD#SWPL-3921 Problem: Too more log when cec bus error Solution: print the log at log level 1 Verify: verified on tl1 android p Change-Id: I8273e0a46470d59160f1ac8dc71494a9abb19b0f Signed-off-by: Yong Qin --- drivers/amlogic/cec/hdmi_ao_cec.c | 6 +++--- drivers/amlogic/cec/hdmi_ao_cec.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/amlogic/cec/hdmi_ao_cec.c b/drivers/amlogic/cec/hdmi_ao_cec.c index a0da89e..3c0af63 100644 --- a/drivers/amlogic/cec/hdmi_ao_cec.c +++ b/drivers/amlogic/cec/hdmi_ao_cec.c @@ -483,9 +483,9 @@ void cecb_irq_handle(void) /* clear start */ hdmirx_cec_write(DWC_CEC_TX_CNT, 0); hdmirx_set_bits_dwc(DWC_CEC_CTRL, 0, 0, 3); - CEC_ERR("warning:ARB_LOST\n"); + CEC_INFO("warning:ARB_LOST\n"); } else if (intr_cec & CEC_IRQ_TX_ERR_INITIATOR) { - CEC_ERR("warning:INITIATOR\n"); + CEC_INFO("warning:INITIATOR\n"); cec_tx_result = CEC_FAIL_OTHER; } else cec_tx_result = CEC_FAIL_OTHER; @@ -494,7 +494,7 @@ void cecb_irq_handle(void) /* RX error irq flag */ if (intr_cec & CEC_IRQ_RX_ERR_FOLLOWER) { - CEC_ERR("warning:FOLLOWER\n"); + CEC_INFO("warning:FOLLOWER\n"); hdmirx_cec_write(DWC_CEC_LOCK, 0); /* TODO: need reset cec hw logic? */ } diff --git a/drivers/amlogic/cec/hdmi_ao_cec.h b/drivers/amlogic/cec/hdmi_ao_cec.h index b6fb58f..aafc7d9 100644 --- a/drivers/amlogic/cec/hdmi_ao_cec.h +++ b/drivers/amlogic/cec/hdmi_ao_cec.h @@ -19,7 +19,7 @@ #define __AO_CEC_H__ -#define CEC_DRIVER_VERSION "Ver 2018/12/11\n" +#define CEC_DRIVER_VERSION "Ver 2019/1/7\n" #define CEC_FRAME_DELAY msecs_to_jiffies(400) #define CEC_DEV_NAME "cec" -- 2.7.4