for (i = 0; i < cnt; i++)
buf[i] = (char)tmpbuf[i];
- if (cec_dev && (cec_dev->cec_num > ENABLE_ONE_CEC))
+ if (cec_dev->cec_num > ENABLE_ONE_CEC)
ceca_trigle_tx(buf, cnt);
else
CEC_ERR("ceca not valid\n");
for (i = 0; i < cnt; i++)
buf[i] = (char)tmpbuf[i];
- if (cec_dev && (cec_dev->cec_num > ENABLE_ONE_CEC))
+ if (cec_dev->cec_num > ENABLE_ONE_CEC)
cecb_trigle_tx(buf, cnt);
else
CEC_ERR("cecb not valid\n");
#ifndef __AO_CEC_H__
#define __AO_CEC_H__
-#define CEC_DRIVER_VERSION "2019/7/11: pretect resume received OTP again msg\n"
+#define CEC_DRIVER_VERSION "2019/10/11: Fix coverity error\n"
#define CEC_FRAME_DELAY msecs_to_jiffies(400)
#define CEC_DEV_NAME "cec"