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>
This commit is contained in:
Liam Girdwood 2016-02-01 14:20:44 +00:00 committed by Takashi Iwai
parent df20aa2a1e
commit c3c9206d12

View file

@ -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;
}