Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] soc - Include register in DAPM debug output
@ 2008-03-26 16:12 Mark Brown
  2008-04-14 10:24 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2008-03-26 16:12 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Mark Brown

When logging register changes in DAPM debug output include the register
number.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 sound/soc/soc-dapm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index abac684..e0637d8 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -226,7 +226,7 @@ static int dapm_update_bits(struct snd_soc_dapm_widget *widget)
 		snd_soc_write(codec, widget->reg, new);
 		pop_wait(POP_TIME);
 	}
-	dbg("reg old %x new %x change %d\n", old, new, change);
+	dbg("reg %x old %x new %x change %d\n", widget->reg, old, new, change);
 	return change;
 }
 
-- 
1.5.4.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-14 10:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 16:12 [PATCH] soc - Include register in DAPM debug output Mark Brown
2008-04-14 10:24 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox