Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
projects/Amlogic-ng/patches/linux/linux-temp-03-dts-use-CECB.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 532bfed034d508ece29641eaf0691615cbcfade8 Mon Sep 17 00:00:00 2001 | ||
From: Portisch <hugo.portisch@yahoo.de> | ||
Date: Mon, 1 Feb 2021 09:09:30 +0100 | ||
Subject: [PATCH] dts: use CECB | ||
|
||
--- | ||
arch/arm64/boot/dts/amlogic/coreelec_common.dtsi | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/arch/arm64/boot/dts/amlogic/coreelec_common.dtsi b/arch/arm64/boot/dts/amlogic/coreelec_common.dtsi | ||
index d1e5fedcdc20..d07dd7958e32 100644 | ||
--- a/arch/arm64/boot/dts/amlogic/coreelec_common.dtsi | ||
+++ b/arch/arm64/boot/dts/amlogic/coreelec_common.dtsi | ||
@@ -245,7 +245,7 @@ | ||
}; | ||
|
||
&aocec { | ||
- /delete-property/ ee_cec; | ||
+ /delete-property/ arc_port_mask; | ||
}; | ||
|
||
&sd_emmc_c { | ||
-- | ||
2.30.0 | ||
|
27 changes: 27 additions & 0 deletions
27
...ng/patches/linux/linux-temp-04-aocec-do-not-parse-received-messages-in-CECB-when-co.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 30b4f7cadf0245d605186a42f24c7c16b3deaf03 Mon Sep 17 00:00:00 2001 | ||
From: Portisch <hugo.portisch@yahoo.de> | ||
Date: Tue, 2 Feb 2021 12:23:24 +0100 | ||
Subject: [PATCH 2/2] aocec: do not parse received messages in CECB when | ||
controlled by system | ||
|
||
--- | ||
drivers/amlogic/cec/hdmi_ao_cec.c | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/drivers/amlogic/cec/hdmi_ao_cec.c b/drivers/amlogic/cec/hdmi_ao_cec.c | ||
index c333f4b0a3cd..650b230ea003 100644 | ||
--- a/drivers/amlogic/cec/hdmi_ao_cec.c | ||
+++ b/drivers/amlogic/cec/hdmi_ao_cec.c | ||
@@ -542,6 +542,9 @@ static bool cec_message_op(unsigned char *msg, unsigned char len) | ||
{ | ||
int i, j; | ||
|
||
+ if (cec_dev->hal_flag & (1 << HDMI_OPTION_SYSTEM_CEC_CONTROL)) | ||
+ return true; | ||
+ | ||
if (((msg[0] & 0xf0) >> 4) == cec_dev->cec_info.log_addr) { | ||
CEC_ERR("bad iniator with self 0x%x", | ||
cec_dev->cec_info.log_addr); | ||
-- | ||
2.30.0 | ||
|