Skip to content

Commit

Permalink
ASoC: Remove excessively verbose logging on I2C write
Browse files Browse the repository at this point in the history
We don't need to log every I2C transfer, and certainly not at error level.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
broonie committed Apr 4, 2011
1 parent 898f8b0 commit d420d40
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/soc-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ static unsigned int do_i2c_read(struct snd_soc_codec *codec,
xfer[1].buf = data;

ret = i2c_transfer(client->adapter, xfer, 2);
dev_err(&client->dev, "i2c_transfer() returned %d\n", ret);
if (ret == 2)
return 0;
else if (ret < 0)
Expand Down

0 comments on commit d420d40

Please sign in to comment.