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 <yong.qin@amlogic.com>
This commit is contained in:
Yong Qin
2019-06-19 17:39:42 +08:00
committed by Chris KIM
parent 1586947984
commit 56b3b4f20b

View File

@@ -2574,8 +2574,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) {