From: Mark Brown Date: Mon, 14 Apr 2008 10:59:27 +0000 (+0200) Subject: [ALSA] soc - Include register in DAPM debug output X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=32f4876e62d5caba712ca76d96b0018dcc0f9601;p=linux-beck.git [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 Signed-off-by: Takashi Iwai --- 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; }