Skip to contentSkip to conversation

soc - Include register in DAPM debug output

PATCH Applied Mark Brown 2 participants 2 messages Mar 26, 2008 – Apr 14, 2008

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 soc - Include register in DAPM debug output

When logging register changes in DAPM debug output include the register number.

---
 sound/soc/soc-dapm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/soc-dapm.c +1 -1
index abac684..e0637d8 100644
@@ -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
Applied
#1 lore raw

At 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.

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
index abac684..e0637d8 100644
@@ -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