diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-04-04 01:55:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-04-04 19:25:39 -0400 |
commit | d420d40e9c044e8fae7957ed82cd63d2afe4147f (patch) | |
tree | 05ac273ba7f53dd5b8e2268f2d05b2cf1bfaf050 /sound/soc/soc-cache.c | |
parent | 898f8b0b65715843f7afd86f3867270dc9ed8b74 (diff) |
ASoC: Remove excessively verbose logging on I2C write
We don't need to log every I2C transfer, and certainly not at error level.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-cache.c')
-rw-r--r-- | sound/soc/soc-cache.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/soc-cache.c b/sound/soc/soc-cache.c index 8418b1fa1976..ed67c160724f 100644 --- a/sound/soc/soc-cache.c +++ b/sound/soc/soc-cache.c | |||
@@ -245,7 +245,6 @@ static unsigned int do_i2c_read(struct snd_soc_codec *codec, | |||
245 | xfer[1].buf = data; | 245 | xfer[1].buf = data; |
246 | 246 | ||
247 | ret = i2c_transfer(client->adapter, xfer, 2); | 247 | ret = i2c_transfer(client->adapter, xfer, 2); |
248 | dev_err(&client->dev, "i2c_transfer() returned %d\n", ret); | ||
249 | if (ret == 2) | 248 | if (ret == 2) |
250 | return 0; | 249 | return 0; |
251 | else if (ret < 0) | 250 | else if (ret < 0) |