cec: update cec platform data for tl1 [1/1]
authorhongmin hua <hongmin.hua@amlogic.com>
Wed, 14 Nov 2018 13:50:26 +0000 (21:50 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 28 Nov 2018 07:01:23 +0000 (15:01 +0800)
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 <hongmin.hua@amlogic.com>
drivers/amlogic/cec/hdmi_ao_cec.c
drivers/amlogic/cec/hdmi_ao_cec.h

index e0cac09..f23270d 100644 (file)
@@ -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,
index 14a9fd4..cc09843 100644 (file)
@@ -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"