diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2020-08-11 15:02:05 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-08-11 16:05:48 +0300 |
commit | 796a58fe2b8c9b6668db00d92512ec84be663027 (patch) | |
tree | 0fde19326ed0827b01866543789a1d10a92fd425 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 56235e4bc5ae58cb8fcd9314dba4e9ab077ddda8 (diff) | |
download | linux-796a58fe2b8c9b6668db00d92512ec84be663027.tar.xz |
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: e3a33673e845 ("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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions