WSL2-Linux-Kernel/sound/soc/qcom
Srinivas Kandagatla 796a58fe2b
ASoC: q6routing: add dummy register read/write function
Most of the DAPM widgets for DSP ASoC components reuse reg field
of the widgets for its internal calculations, however these are not
real registers. So read/writes to these numbers are not really
valid. However ASoC core will read these registers to get default
state during startup.

With recent changes to ASoC core, every register read/write
failures are reported very verbosely. Prior to this fails to reads
are totally ignored, so we never saw any error messages.

To fix this add dummy read/write function to return default value.

Fixes: e3a33673e8 ("ASoC: qdsp6: q6routing: Add q6routing driver")
Reported-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200811120205.21805-2-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-08-11 14:05:48 +01:00
..
qdsp6 ASoC: q6routing: add dummy register read/write function 2020-08-11 14:05:48 +01:00
Kconfig ASoC: qcom: apq8016_sbc: Use qcom_snd_parse_of() 2020-07-24 15:01:19 +01:00
Makefile
apq8016_sbc.c ASoC: qcom: apq8016_sbc: Use qcom_snd_parse_of() 2020-07-24 15:01:19 +01:00
apq8096.c ASoC: qcom: Use devm for resource management 2020-07-24 15:01:15 +01:00
common.c ASoC: qcom: common: Avoid printing errors for -EPROBE_DEFER 2020-07-24 15:01:20 +01:00
common.h
lpass-apq8016.c
lpass-cpu.c
lpass-ipq806x.c
lpass-lpaif-reg.h
lpass-platform.c ASoC: qcom: use asoc_substream_to_rtd() 2020-07-23 19:07:33 +01:00
lpass.h
sdm845.c ASoC: qcom: Use devm for resource management 2020-07-24 15:01:15 +01:00
storm.c ASoC: qcom: use asoc_substream_to_rtd() 2020-07-23 19:07:33 +01:00