From: Liam Girdwood Date: Thu, 29 Jun 2017 13:22:26 +0000 (+0100) Subject: ASoC: topology: show index in debug when adding DAPM routes X-Git-Tag: v4.14-rc4~21^2~60^2^2~1^5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b75a65118d287aadeade8b106ed0da7b5e42c167;p=platform%2Fkernel%2Flinux-rpi3.git ASoC: topology: show index in debug when adding DAPM routes Makes the debug output much more useful. Signed-off-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c index 6070e35..73308e6 100644 --- a/sound/soc/soc-topology.c +++ b/sound/soc/soc-topology.c @@ -1163,7 +1163,8 @@ static int soc_tplg_dapm_graph_elems_load(struct soc_tplg *tplg, return -EINVAL; } - dev_dbg(tplg->dev, "ASoC: adding %d DAPM routes\n", count); + dev_dbg(tplg->dev, "ASoC: adding %d DAPM routes for index %d\n", count, + hdr->index); for (i = 0; i < count; i++) { elem = (struct snd_soc_tplg_dapm_graph_elem *)tplg->pos;