summaryrefslogtreecommitdiffstats
path: root/meta-agl-refhw-gen3/recipes-kernel/linux/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-refhw-gen3/recipes-kernel/linux/files')
-rw-r--r--meta-agl-refhw-gen3/recipes-kernel/linux/files/0003-rcar3-dw-hdmi-cec-mute.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-agl-refhw-gen3/recipes-kernel/linux/files/0003-rcar3-dw-hdmi-cec-mute.patch b/meta-agl-refhw-gen3/recipes-kernel/linux/files/0003-rcar3-dw-hdmi-cec-mute.patch
new file mode 100644
index 0000000..b0663ca
--- /dev/null
+++ b/meta-agl-refhw-gen3/recipes-kernel/linux/files/0003-rcar3-dw-hdmi-cec-mute.patch
@@ -0,0 +1,25 @@
+Mute CEC IRQ in dw-hdmi driver init
+
+Add muting of the CEC interrupt to initialize_hdmi_rcar_ih_mutes,
+which it previously did not have, unlike the original generic
+initialize_hdmi_ih_mutes function.
+
+Author: Kato Kazuomi (加藤 一臣) <kato.kazuomi@jp.panasonic.com>
+Signed-off-by: Scott Murray <scott.murray@konsulko.com>
+
+---
+ drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+index cedae37e6d28..b4a29d3954ae 100644
+--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
++++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+@@ -1906,6 +1906,7 @@ static void initialize_hdmi_rcar_ih_mutes(struct dw_hdmi *hdmi)
+ hdmi_writeb(hdmi, 0x1f, HDMI_IH_MUTE_AS_STAT0);
+ hdmi_writeb(hdmi, 0x3f, HDMI_IH_MUTE_PHY_STAT0);
+ hdmi_writeb(hdmi, 0x03, HDMI_IH_MUTE_I2CM_STAT0);
++ hdmi_writeb(hdmi, 0x7f, HDMI_IH_MUTE_CEC_STAT0);
+ hdmi_writeb(hdmi, 0x0f, HDMI_IH_MUTE_VP_STAT0);
+ hdmi_writeb(hdmi, 0x03, HDMI_IH_MUTE_I2CMPHY_STAT0);
+