From 92ba501f65f79fd3af2f6cac55d22ce22b920a8a Mon Sep 17 00:00:00 2001 From: Yong Qin Date: Wed, 19 Jun 2019 17:39:42 +0800 Subject: [PATCH] cec: cmd read some time will loss msg [1/1] PD#SWPL-9283 Problem: android read cec, some time will lose msg Solution: del hal flag Verify: tl1 Change-Id: I2357ff2a09c60e930e64d663650a4d4509688c71 Signed-off-by: Yong Qin --- drivers/amlogic/cec/hdmi_ao_cec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/amlogic/cec/hdmi_ao_cec.c b/drivers/amlogic/cec/hdmi_ao_cec.c index ea41c7a..a006449 100644 --- a/drivers/amlogic/cec/hdmi_ao_cec.c +++ b/drivers/amlogic/cec/hdmi_ao_cec.c @@ -2573,8 +2573,6 @@ static ssize_t hdmitx_cec_read(struct file *f, char __user *buf, { int ret; - if ((cec_dev->hal_flag & (1 << HDMI_OPTION_SYSTEM_CEC_CONTROL))) - rx_len = 0; /*CEC_ERR("read msg start\n");*/ ret = wait_for_completion_timeout(&cec_dev->rx_ok, CEC_FRAME_DELAY); if (ret <= 0) { -- 2.7.4