From: Takashi Iwai Subject: Re: [PATCH] topology: fix debug output to print correct "max" value. Date: Mon, 01 Feb 2016 16:28:32 +0100 Message-ID: References: <1454336444-28584-1-git-send-email-liam.r.girdwood@linux.intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id AA575260481 for ; Mon, 1 Feb 2016 16:28:32 +0100 (CET) In-Reply-To: <1454336444-28584-1-git-send-email-liam.r.girdwood@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Liam Girdwood Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Mon, 01 Feb 2016 15:20:44 +0100, Liam Girdwood wrote: > > Debug log is printing num_regs instead of max in the max section. > > Signed-off-by: Liam Girdwood Applied, thanks. Takashi > --- > src/topology/ctl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/topology/ctl.c b/src/topology/ctl.c > index 1c073f7..c250227 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; > } > > -- > 2.5.0 >