soc - Include register in DAPM debug output
PATCH 1/1 soc - Include register in DAPM debug output
When logging register changes in DAPM debug output include the register number.
Signed-off-by Mark Brown <[email protected]>
--- sound/soc/soc-dapm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/soc-dapm.c +1 -1
@@ -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; }
Signature · 1 line
1.5.4.4
Takashi Iwai
AppliedAt Wed, 26 Mar 2008 16:12:19 +0000,
Quoted 5 lines · Mark Brown
When logging register changes in DAPM debug output include the register number.
Signed-off-by Mark Brown <[email protected]>
Thanks, applied to ALSA tree.
Takashi
Quoted 20 lines
--- sound/soc/soc-dapm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)sound/soc/soc-dapm.c +1
-1@@ -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; }Signature · 1 line
1.5.4.4