From bc338484c3d40eb3dac9813606ea5f05fe0af6c3 Mon Sep 17 00:00:00 2001 From: hongmin hua Date: Wed, 14 Nov 2018 21:50:26 +0800 Subject: [PATCH] cec: update cec platform data for tl1 [1/1] PD#172587 Problem: the line check always return low. the print of check too much. Solution: modify the cec gpio from 7 to 10. modify the check line. Verify: tl1 x301 board Change-Id: I09ae5eee455d83e51e65957cd293e07da1c0046a Signed-off-by: hongmin hua --- drivers/amlogic/cec/hdmi_ao_cec.c | 2 +- drivers/amlogic/cec/hdmi_ao_cec.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/cec/hdmi_ao_cec.c b/drivers/amlogic/cec/hdmi_ao_cec.c index e0cac09..f23270d 100644 --- a/drivers/amlogic/cec/hdmi_ao_cec.c +++ b/drivers/amlogic/cec/hdmi_ao_cec.c @@ -2983,7 +2983,7 @@ static const struct cec_platform_data_s cec_txl_data = { static const struct cec_platform_data_s cec_tl1_data = { .line_reg = 0, - .line_bit = 7, + .line_bit = 10, .ee_to_ao = 1, .ceca_sts_reg = 1, .cecb_ver = CECB_VER_2, diff --git a/drivers/amlogic/cec/hdmi_ao_cec.h b/drivers/amlogic/cec/hdmi_ao_cec.h index 14a9fd4..cc09843 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/10/31\n" +#define CEC_DRIVER_VERSION "Ver 2018/11/15\n" #define CEC_FRAME_DELAY msecs_to_jiffies(400) #define CEC_DEV_NAME "cec" -- 2.7.4