diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-05-29 14:36:13 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-29 15:21:45 +0200 |
commit | 28ff437a44fa618a14bc7402c7472b278af4c9eb (patch) | |
tree | 2857d20d3f415bbea37d39d60607b85d60599c73 /sound/soc/soc-pcm.c | |
parent | Merge series "ASoC topology header parsing refinement" from Keyon Jie <yang.j... (diff) | |
download | linux-28ff437a44fa618a14bc7402c7472b278af4c9eb.tar.xz linux-28ff437a44fa618a14bc7402c7472b278af4c9eb.zip |
ASoC: reduce verbosity of error messages for sof-dai and sof-link
Recent changes result in multiple dmesg traces such as:
[ 14.410435] Audio Port: ASoC: error at snd_soc_link_startup on Audio
Port: 1
[ 14.410446] sst-mfld-platform sst-mfld-platform: ASoC: error at
snd_soc_dai_startup on media-cpu-dai: 1
These messages are not really errors, when dai and dai-link callbacks
return the value of e.g. snd_pcm_hw_constraint_single() the result is
"Positive if the value is changed, zero if it's not changed, or a
negative error code"
Add a simple test to skip the checks for positive returned values
Suggested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200529123613.13447-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-pcm.c')
0 files changed, 0 insertions, 0 deletions