cec: during resume received OTP msg again [1/1]
authorYong Qin <yong.qin@amlogic.com>
Thu, 11 Jul 2019 10:51:44 +0000 (18:51 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 19 Jul 2019 05:34:10 +0000 (22:34 -0700)
commit40c051b31d6432b1227f3e0dc20ac21625f450d2
tree0c6215ce9e7c227d5cd67792d761e77bf0f7458e
parentdfd10b8b25388791ad97b9173e39c8d585d515e9
cec: during resume received OTP msg again [1/1]

PD#TV-7837

Problem:
when tv power on by OTP, when during power on, tv received
OTP again, then needn't send power key. and need send a event
to android.

Solution:
when cec driver is power on, needn't send power event to android.

Verify:
tl1

Change-Id: I8807c5cbbcab831577fdc23062a78454c2106167
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
drivers/amlogic/cec/hdmi_ao_cec.c
drivers/amlogic/cec/hdmi_ao_cec.h
drivers/amlogic/cec/m8_ao_cec.c
include/linux/amlogic/cec_common.h
include/linux/amlogic/media/vout/hdmi_tx/hdmi_tx_cec_20.h