]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dpcm: remove confusing trace in dpcm_get_be()
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 19 Feb 2020 11:50:48 +0000 (12:50 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 20 Feb 2020 12:51:20 +0000 (12:51 +0000)
commit43094585c1bc83a2913850d55e8f4f456d5891ce
tree8fb45cc6d48a5b14a4c9196014f6f68f15aa447a
parentd37bbd4d74373c7dffc3453d4dd46211c9803357
ASoC: dpcm: remove confusing trace in dpcm_get_be()

Now that dpcm_get_be() is used in dpcm_end_walk_at_be(), it is not a error
if this function does not find a BE for the provided widget. Remove the
related dev_err() trace which is confusing since things might be working
as expected.

When called from dpcm_add_paths(), it is an error if dpcm_get_be() fails to
find a BE for the provided widget. The necessary error trace is already
done in this case.

Fixes: bdb885e3cf43 ("ASoC: soc-pcm: use dpcm_get_be() at dpcm_end_walk_at_be()")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20200219115048.934678-1-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c