summaryrefslogtreecommitdiff
path: root/src/topology
diff options
context:
space:
mode:
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>2016-02-01 14:20:44 +0000
committerTakashi Iwai <tiwai@suse.de>2016-02-01 16:28:01 +0100
commitc3c9206d12c553c0f0fac45a1aac16c7edc152b2 (patch)
treead7dce55fe6ca79beffb869d66bd2893257e8619 /src/topology
parentdf20aa2a1ea9cbcb3eb96c5684c1a00de29e2730 (diff)
downloadalsa-lib-c3c9206d12c553c0f0fac45a1aac16c7edc152b2.tar.gz
topology: fix debug output to print correct "max" value.
Debug log is printing num_regs instead of max in the max section. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/topology/ctl.c b/src/topology/ctl.c
index 1c073f7c..c2502272 100644
--- a/src/topology/ctl.c
+++ b/src/topology/ctl.c
@@ -350,7 +350,7 @@ int tplg_parse_control_bytes(snd_tplg_t *tplg,
return -EINVAL;
be->max = atoi(val);
- tplg_dbg("\t%s: %d\n", id, be->num_regs);
+ tplg_dbg("\t%s: %d\n", id, be->max);
continue;
}