summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPortisch <hugo.portisch@yahoo.de>2019-12-03 12:05:53 +0300
committerDongjin Kim <tobetter@gmail.com>2020-05-03 15:05:43 +0300
commit37f52506c6c104ac560ebcf37164e8d0c8abcd2b (patch)
treed8abb81ca8d0c9cc365ee3c54e00edeb3793af0a
parentdee79560093354224f59d058eb47af2ba10c6bc4 (diff)
downloadu-boot-37f52506c6c104ac560ebcf37164e8d0c8abcd2b.tar.xz
BACKPORT: Change cec flag for active source change
Change-Id: Ia89bfb292fab9981807e4a9c631b2cec7a562a3e
-rw-r--r--arch/arm/cpu/armv8/g12b/firmware/scp_task/hdmi_cec_arc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv8/g12b/firmware/scp_task/hdmi_cec_arc.c b/arch/arm/cpu/armv8/g12b/firmware/scp_task/hdmi_cec_arc.c
index ea4ead5256..ba79656dc6 100644
--- a/arch/arm/cpu/armv8/g12b/firmware/scp_task/hdmi_cec_arc.c
+++ b/arch/arm/cpu/armv8/g12b/firmware/scp_task/hdmi_cec_arc.c
@@ -652,7 +652,7 @@ static unsigned int cec_handle_message(void)
phy_addr = (cec_msg.buf[cec_msg.rx_read_pos].msg[2] << 8) |
(cec_msg.buf[cec_msg.rx_read_pos].msg[3] << 0);
if (((hdmi_cec_func_config >> CEC_FUNC_MASK) & 0x1) &&
- ((hdmi_cec_func_config >> AUTO_POWER_ON_MASK) & 0x1) &&
+ ((hdmi_cec_func_config >> ACTIVE_SOURCE_MASK) & 0x1) &&
(source == CEC_TV_ADDR && (dest == CEC_BROADCAST_ADDR || check_addr(phy_addr)))) {
cec_msg.cec_power = 0x1;
wake = (phy_addr << 0) |