linux/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
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 ASoC: qcom: remove unused header files from common.h 2018-08-06 12:50:07 +01:00
Kconfig ASoC: qcom: apq8016_sbc: Use qcom_snd_parse_of() 2020-07-24 15:01:19 +01:00
lpass-apq8016.c ASoC: qcom: Use the defined variable to simplify code 2020-05-04 16:23:25 +01:00
lpass-cpu.c ASoC: qcom: lpass-cpu: Make I2S SD lines configurable 2020-05-05 13:17:23 +01:00
lpass-ipq806x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
lpass-lpaif-reg.h ASoC: qcom: lpass-cpu: Make I2S SD lines configurable 2020-05-05 13:17:23 +01:00
lpass-platform.c ASoC: qcom: use asoc_substream_to_rtd() 2020-07-23 19:07:33 +01:00
lpass.h ASoC: qcom: lpass-cpu: Make I2S SD lines configurable 2020-05-05 13:17:23 +01:00
Makefile ASoC: qcom: make common.c as proper module 2018-08-06 12:50:04 +01:00
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