summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>2017-06-29 15:22:26 +0200
committerMark Brown <broonie@kernel.org>2017-06-30 12:54:05 +0200
commitb75a65118d287aadeade8b106ed0da7b5e42c167 (patch)
treeb5c6d6409c48f4642a61507384143201475be100 /sound
parentASoC: topology: Fix usage of SND_SOC_TPLG_INDEX_ALL during load (diff)
downloadlinux-b75a65118d287aadeade8b106ed0da7b5e42c167.tar.xz
linux-b75a65118d287aadeade8b106ed0da7b5e42c167.zip
ASoC: topology: show index in debug when adding DAPM routes
Makes the debug output much more useful. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-topology.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index 6070e35455aa..73308e6d3729 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;