[ALSA] soc - Include register in DAPM debug output
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 14 Apr 2008 10:59:27 +0000 (12:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:33 +0000 (12:00 +0200)
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>
sound/soc/soc-dapm.c

index 4c64560493f59819f27dffdbf760df5f119d0f9d..af3326c635041da0c852ecc0ca11ea91212484f1 100644 (file)
@@ -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;
 }