Skip to content

Commit

Permalink
[ALSA] soc - Include register in DAPM debug output
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Takashi Iwai committed Apr 24, 2008
1 parent 4383fae commit 32f4876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 32f4876

Please sign in to comment.