Commit d420d40e authored by Mark Brown's avatar Mark Brown

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 898f8b0b
...@@ -245,7 +245,6 @@ static unsigned int do_i2c_read(struct snd_soc_codec *codec, ...@@ -245,7 +245,6 @@ static unsigned int do_i2c_read(struct snd_soc_codec *codec,
xfer[1].buf = data; xfer[1].buf = data;
ret = i2c_transfer(client->adapter, xfer, 2); ret = i2c_transfer(client->adapter, xfer, 2);
dev_err(&client->dev, "i2c_transfer() returned %d\n", ret);
if (ret == 2) if (ret == 2)
return 0; return 0;
else if (ret < 0) else if (ret < 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