diff mbox series

[RESEND] Asoc: qcom: lpass-cpu: Mark HDMI TX parity register as volatile

Message ID 1665825530-7593-1-git-send-email-quic_srivasam@quicinc.com
State Accepted
Commit 1dd5166102e7ca91e8c5d833110333835e147ddb
Headers show
Series [RESEND] Asoc: qcom: lpass-cpu: Mark HDMI TX parity register as volatile | expand

Commit Message

Srinivasa Rao Mandadapu Oct. 15, 2022, 9:18 a.m. UTC
Update LPASS_HDMI_TX_PARITY_ADDR register as volatile, to fix
dp audio failures observed with some of external monitors.

Fixes: 7cb37b7bd0d3 ("ASoC: qcom: Add support for lpass hdmi driver")

Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
---
    -- Resending this patch as it was posted long back and forgot to track.

 sound/soc/qcom/lpass-cpu.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/sound/soc/qcom/lpass-cpu.c b/sound/soc/qcom/lpass-cpu.c
index 99a3b44..5435384 100644
--- a/sound/soc/qcom/lpass-cpu.c
+++ b/sound/soc/qcom/lpass-cpu.c
@@ -784,6 +784,8 @@  static bool lpass_hdmi_regmap_volatile(struct device *dev, unsigned int reg)
 		return true;
 	if (reg == LPASS_HDMI_TX_VBIT_CTL_ADDR(v))
 		return true;
+	if (reg == LPASS_HDMI_TX_PARITY_ADDR(v))
+		return true;
 
 	for (i = 0; i < v->hdmi_rdma_channels; ++i) {
 		if (reg == LPAIF_HDMI_RDMACURR_REG(v, i))