Skip to contentSkip to conversation

ASoC: Remove register write trace from WM8994

PATCH In review Mark Brown 2 participants 2 messages Nov 3, 2010

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Remove register write trace from WM8994

We now have trace in the ASoC core so we don't need to our own trace in the driver.

---
 sound/soc/codecs/wm8994.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/codecs/wm8994.c +0 -2
index 3f70dee..d81cac5 100644
@@ -1730,8 +1730,6 @@ static int wm8994_write(struct snd_soc_codec *codec, unsigned int reg,
 	if (!wm8994_volatile(reg))
 		wm8994->reg_cache[reg] = value;
 
-	dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);
-
 	return wm8994_reg_write(codec->control_data, reg, value);
 }
 
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Mark Brown

We now have trace in the ASoC core so we don't need to our own trace in the driver.

---
 sound/soc/codecs/wm8994.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/codecs/wm8994.c +0 -0
index 3f70dee..d81cac5 100644

sound/soc/codecs/wm8994.c static int wm8994_write(struct snd_soc_codec *codec, unsigned int reg, · line 1735

Quoted 8 lines
sound/soc/codecs/wm8994.c +0 -2
@@ -1730,8 +1730,6 @@ static int wm8994_write(struct snd_soc_codec *codec, unsigned int reg,
 	if (!wm8994_volatile(reg))
 		wm8994->reg_cache[reg] = value;
 
-	dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);
-
 	return wm8994_reg_write(codec->control_data, reg, value);
 }
 
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk