Re: [PATCH] ASoC: qcom: Fix typo error in HDMI regmap config callbacks

From
Stephen Boyd <hidden>
Date
2021-02-02 17:17:21
Also in
alsa-devel, linux-devicetree, lkml
Reply to
Srinivasa Rao Mandadapu, 2021-02-02
Quoting Srinivasa Rao Mandadapu (2021-02-01 22:27:27)
Had a typo in lpass platform driver that resulted in crash
during suspend/resume with an HDMI dongle connected.

The regmap read/write/volatile regesters validation callbacks in lpass-cpu
were using MI2S rdma_channels count instead of hdmi_rdma_channels.

This typo error causing to read registers from the regmap beyond the length
of the mapping created by ioremap().

This fix avoids the need for reducing number hdmi_rdma_channels,
which is done in
commit 7dfe20ee92f6 ("ASoC: qcom: Fix number of HDMI RDMA channels on sc7180").
So reverting the same.

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

Signed-off-by: Srinivasa Rao Mandadapu <redacted>
---
Reviewed-by: Stephen Boyd <redacted>
Tested-by: Stephen Boyd <redacted>
Thread (3 messages) 3 messages, 3 authors, last reply 2021-02-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help