From: Liam Girdwood Date: Mon, 1 Feb 2016 14:20:44 +0000 (+0000) Subject: topology: fix debug output to print correct "max" value. X-Git-Tag: v1.1.1~19 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=c3c9206d12c553c0f0fac45a1aac16c7edc152b2;p=alsa-lib.git 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 Signed-off-by: Takashi Iwai --- 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; }