topology: fix debug output to print correct "max" value.
PATCH 1/1 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 <[email protected]>
--- src/topology/ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/topology/ctl.c +1 -1
@@ -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 ; }
Signature · 1 line
2.5.0
Takashi Iwai
AppliedQuoted 4 lines · Liam Girdwood
Debug log is printing
num_regsinstead of max in the max section.Signed-off-by Liam Girdwood <[email protected]>
Applied, thanks.
Takashi
Quoted 20 lines
--- src/topology/ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)src/topology/ctl.c +1
-1@@ -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 ; }Signature · 1 line
2.5.0