All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Girdwood <liam.r.girdwood@linux.intel.com>
To: alsa-devel@alsa-project.org
Cc: Takashi Iwai <tiwai@suse.de>,
	Liam Girdwood <liam.r.girdwood@linux.intel.com>
Subject: [PATCH] topology: fix debug output to print correct "max" value.
Date: Mon, 14 Mar 2016 08:07:34 +0000	[thread overview]
Message-ID: <1457942858-5652-1-git-send-email-liam.r.girdwood@linux.intel.com> (raw)

Debug log is printing num_regs instead of max in the max section.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
---
 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

             reply	other threads:[~2016-03-14  8:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-14  8:07 Liam Girdwood [this message]
2016-03-14  8:07 ` [PATCH] topology: Add ops to bytes control Liam Girdwood
2016-03-14 15:58   ` Takashi Iwai
2016-03-14  8:07 ` [PATCH] topology: add support for pasring external ops in conf files Liam Girdwood
2016-03-14 15:58   ` Takashi Iwai
2016-03-14  8:07 ` [PATCH] topology: add support for CTL access flags to config file Liam Girdwood
2016-03-14 15:58   ` Takashi Iwai
2016-03-14  8:07 ` [PATCH] topology: Add support for widget byte controls Liam Girdwood
2016-03-14 15:58   ` Takashi Iwai
2016-03-14 15:56 ` [PATCH] topology: fix debug output to print correct "max" value Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2016-02-01 14:20 Liam Girdwood
2016-02-01 15:28 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457942858-5652-1-git-send-email-liam.r.girdwood@linux.intel.com \
    --to=liam.r.girdwood@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.