diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2010-11-03 12:50:36 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-03 13:42:37 -0400 |
commit | 11dbf0acb4aba818a4f0600996216be55667b400 (patch) | |
tree | eeb9384b3f693c3759630541f3faa87d6d7ae402 | |
parent | c3753707991218aa2c18449a921847877533aa09 (diff) |
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: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/soc-cache.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sound/soc/soc-cache.c b/sound/soc/soc-cache.c index d214f02cbb65..8785a0c918d2 100644 --- a/sound/soc/soc-cache.c +++ b/sound/soc/soc-cache.c | |||
@@ -50,8 +50,6 @@ static int snd_soc_4_12_write(struct snd_soc_codec *codec, unsigned int reg, | |||
50 | return 0; | 50 | return 0; |
51 | } | 51 | } |
52 | 52 | ||
53 | dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); | ||
54 | |||
55 | ret = codec->hw_write(codec->control_data, data, 2); | 53 | ret = codec->hw_write(codec->control_data, data, 2); |
56 | if (ret == 2) | 54 | if (ret == 2) |
57 | return 0; | 55 | return 0; |
@@ -126,8 +124,6 @@ static int snd_soc_7_9_write(struct snd_soc_codec *codec, unsigned int reg, | |||
126 | return 0; | 124 | return 0; |
127 | } | 125 | } |
128 | 126 | ||
129 | dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); | ||
130 | |||
131 | ret = codec->hw_write(codec->control_data, data, 2); | 127 | ret = codec->hw_write(codec->control_data, data, 2); |
132 | if (ret == 2) | 128 | if (ret == 2) |
133 | return 0; | 129 | return 0; |
@@ -186,8 +182,6 @@ static int snd_soc_8_8_write(struct snd_soc_codec *codec, unsigned int reg, | |||
186 | return 0; | 182 | return 0; |
187 | } | 183 | } |
188 | 184 | ||
189 | dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); | ||
190 | |||
191 | if (codec->hw_write(codec->control_data, data, 2) == 2) | 185 | if (codec->hw_write(codec->control_data, data, 2) == 2) |
192 | return 0; | 186 | return 0; |
193 | else | 187 | else |
@@ -260,8 +254,6 @@ static int snd_soc_8_16_write(struct snd_soc_codec *codec, unsigned int reg, | |||
260 | return 0; | 254 | return 0; |
261 | } | 255 | } |
262 | 256 | ||
263 | dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); | ||
264 | |||
265 | if (codec->hw_write(codec->control_data, data, 3) == 3) | 257 | if (codec->hw_write(codec->control_data, data, 3) == 3) |
266 | return 0; | 258 | return 0; |
267 | else | 259 | else |
@@ -455,8 +447,6 @@ static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg, | |||
455 | return 0; | 447 | return 0; |
456 | } | 448 | } |
457 | 449 | ||
458 | dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); | ||
459 | |||
460 | ret = codec->hw_write(codec->control_data, data, 3); | 450 | ret = codec->hw_write(codec->control_data, data, 3); |
461 | if (ret == 3) | 451 | if (ret == 3) |
462 | return 0; | 452 | return 0; |
@@ -568,8 +558,6 @@ static int snd_soc_16_16_write(struct snd_soc_codec *codec, unsigned int reg, | |||
568 | return 0; | 558 | return 0; |
569 | } | 559 | } |
570 | 560 | ||
571 | dev_dbg(codec->dev, "0x%x = 0x%x\n", reg, value); | ||
572 | |||
573 | ret = codec->hw_write(codec->control_data, data, 4); | 561 | ret = codec->hw_write(codec->control_data, data, 4); |
574 | if (ret == 4) | 562 | if (ret == 4) |
575 | return 0; | 563 | return 0; |