Commit 11dbf0ac authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by Mark Brown

ASoC: soc-cache: Remove unnecessary debugging info

No need to print the register-value pair again, as we've already hooked
snd_soc_write() for that matter.
Signed-off-by: default avatarDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c3753707
...@@ -50,8 +50,6 @@ static int snd_soc_4_12_write(struct snd_soc_codec *codec, unsigned int reg, ...@@ -50,8 +50,6 @@ static int snd_soc_4_12_write(struct snd_soc_codec *codec, unsigned int reg,
return 0; return 0;
} }
dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);
ret = codec->hw_write(codec->control_data, data, 2); ret = codec->hw_write(codec->control_data, data, 2);
if (ret == 2) if (ret == 2)
return 0; return 0;
...@@ -126,8 +124,6 @@ static int snd_soc_7_9_write(struct snd_soc_codec *codec, unsigned int reg, ...@@ -126,8 +124,6 @@ static int snd_soc_7_9_write(struct snd_soc_codec *codec, unsigned int reg,
return 0; return 0;
} }
dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);
ret = codec->hw_write(codec->control_data, data, 2); ret = codec->hw_write(codec->control_data, data, 2);
if (ret == 2) if (ret == 2)
return 0; return 0;
...@@ -186,8 +182,6 @@ static int snd_soc_8_8_write(struct snd_soc_codec *codec, unsigned int reg, ...@@ -186,8 +182,6 @@ static int snd_soc_8_8_write(struct snd_soc_codec *codec, unsigned int reg,
return 0; return 0;
} }
dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);
if (codec->hw_write(codec->control_data, data, 2) == 2) if (codec->hw_write(codec->control_data, data, 2) == 2)
return 0; return 0;
else else
...@@ -260,8 +254,6 @@ static int snd_soc_8_16_write(struct snd_soc_codec *codec, unsigned int reg, ...@@ -260,8 +254,6 @@ static int snd_soc_8_16_write(struct snd_soc_codec *codec, unsigned int reg,
return 0; return 0;
} }
dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);
if (codec->hw_write(codec->control_data, data, 3) == 3) if (codec->hw_write(codec->control_data, data, 3) == 3)
return 0; return 0;
else else
...@@ -455,8 +447,6 @@ static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg, ...@@ -455,8 +447,6 @@ static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg,
return 0; return 0;
} }
dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);
ret = codec->hw_write(codec->control_data, data, 3); ret = codec->hw_write(codec->control_data, data, 3);
if (ret == 3) if (ret == 3)
return 0; return 0;
...@@ -568,8 +558,6 @@ static int snd_soc_16_16_write(struct snd_soc_codec *codec, unsigned int reg, ...@@ -568,8 +558,6 @@ static int snd_soc_16_16_write(struct snd_soc_codec *codec, unsigned int reg,
return 0; return 0;
} }
dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value);
ret = codec->hw_write(codec->control_data, data, 4); ret = codec->hw_write(codec->control_data, data, 4);
if (ret == 4) if (ret == 4)
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment