[PATCH] ASoC: dpcm: remove confusing trace in dpcm_get_be()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu Feb 20 01:02:50 CET 2020


Hi Jerome

Thank you for your patch

> 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: 027a48387183 ("ASoC: soc-pcm: use dpcm_get_be() at dpcm_end_walk_at_be()")
> Cc: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> Signed-off-by: Jerome Brunet <jbrunet at baylibre.com>
> ---

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

Thank you for your help !!
Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list