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 <yong.qin@amlogic.com>
This commit is contained in:
Yong Qin
2019-01-07 15:59:00 +08:00
committed by Luan Yuan
parent 24c730912e
commit 699c99b199
2 changed files with 4 additions and 4 deletions

View File

@@ -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? */
}

View File

@@ -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"