[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>
This commit is contained in:
Mark Brown 2008-04-14 12:59:27 +02:00 committed by Takashi Iwai
parent 4383fae0ec
commit 32f4876e62
1 changed files with 1 additions and 1 deletions

View 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;
}