ASoC: Remove excessively verbose logging on I2C write
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Apr 2011 05:55:59 +0000 (14:55 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Apr 2011 23:25:39 +0000 (08:25 +0900)
We don't need to log every I2C transfer, and certainly not at error level.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-cache.c

index 8418b1fa1976e0efd2727aa6cca0156b2266ffe5..ed67c160724f1f33cacec9da295209d98c45ac9f 100644 (file)
@@ -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)