path: root/drivers
diff options
authorRicardo Salveti de Araujo <ricardo.salveti@canonical.com>2011-05-05 03:54:46 -0300
committerRicardo Salveti de Araujo <ricardo.salveti@canonical.com>2011-05-16 22:52:48 -0300
commitd109066caae15268722611d99ae5f060d752e0dc (patch)
tree970161739dabd8fce975dbb98d2751ff948bb29b /drivers
parentfd21f1db102535853258a0e1a43c00d47daa26ee (diff)
OMAP: I2C: "controller timed out" message should use dev_warn
The OMAP DRM driver pools the I2C bus to find if the monitor is connected or not, and also to grab the EDID data from the monitor. Having the timed out messages as an error error doesn't really help, and is quite annoying for the user, so moving it to dev_warn. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Diffstat (limited to 'drivers')
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index d53cd61c059..b8c4e9948be 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -611,7 +611,7 @@ static int omap_i2c_xfer_msg(struct i2c_adapter *adap,
if (r < 0)
return r;
if (r == 0) {
- dev_err(dev->dev, "controller timed out\n");
+ dev_warn(dev->dev, "controller timed out\n");
return -ETIMEDOUT;