summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-04-14 12:59:27 +0200
committerTakashi Iwai <tiwai@suse.de>2008-04-24 12:00:33 +0200
commit32f4876e62d5caba712ca76d96b0018dcc0f9601 (patch)
tree4032c7708451165cac1702432253fd7d4b1781c8 /sound
parent4383fae0ec5bc269f9eb4383b223731e3ecd2fe3 (diff)
downloadlinux-32f4876e62d5caba712ca76d96b0018dcc0f9601.tar.bz2
[ALSA] soc - Include register in DAPM debug output
When logging register changes in DAPM debug output include the register number. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-dapm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 4c64560493f5..af3326c63504 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;
}