-
Notifications
You must be signed in to change notification settings - Fork 0
/
amlogic-move-menu-status-check-later-in-node-init.patch
34 lines (28 loc) · 1.43 KB
/
amlogic-move-menu-status-check-later-in-node-init.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 6098923a0bfd69dfd94b2775cb9f6bbb55ea4182 Mon Sep 17 00:00:00 2001
From: Fedora Kernel Team <[email protected]>
Date: Wed, 30 May 2018 21:26:12 -0700
Subject: [PATCH 1/2] amlogic: Move menu status check later in node init
---
drivers/amlogic/hdmi/hdmi_tx/hdmi_tx_cec.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/amlogic/hdmi/hdmi_tx/hdmi_tx_cec.c b/drivers/amlogic/hdmi/hdmi_tx/hdmi_tx_cec.c
index c8ee02d..00d0ceb 100755
--- a/drivers/amlogic/hdmi/hdmi_tx/hdmi_tx_cec.c
+++ b/drivers/amlogic/hdmi/hdmi_tx/hdmi_tx_cec.c
@@ -291,14 +291,14 @@ void cec_node_init(hdmitx_dev_t* hdmitx_device)
#endif
hdmi_print(INF, CEC "Set logical address: %d\n", player_dev[i]);
- hdmi_print(INF, CEC "aml_read_reg32(P_AO_DEBUG_REG0):0x%x\n" ,aml_read_reg32(P_AO_DEBUG_REG0));
- if(cec_global_info.cec_node_info[cec_global_info.my_node_index].menu_status == DEVICE_MENU_INACTIVE)
- break;
msleep(100);
cec_report_physical_address_smp();
msleep(150);
cec_device_vendor_id((cec_rx_message_t*)0);
+ hdmi_print(INF, CEC "aml_read_reg32(P_AO_DEBUG_REG0):0x%x\n" ,aml_read_reg32(P_AO_DEBUG_REG0));
+ if(cec_global_info.cec_node_info[cec_global_info.my_node_index].menu_status == DEVICE_MENU_INACTIVE)
+ break;
msleep(150);
/* Disable switch TV on automatically */
--
2.9.5