From: Youngmin Nam Date: Mon, 21 Nov 2016 06:48:17 +0000 (+0900) Subject: [COMMON] i2c: s3c2410: release debug log in I2C driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6e3822baf2fab6c21e817fe5180e70c65d7e6e76;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] i2c: s3c2410: release debug log in I2C driver Change-Id: Id899e7184d676357e268792a6ab3d25eb834be7a Signed-off-by: Youngmin Nam --- diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index d9a0149482f5..e52a35257e7f 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c @@ -464,7 +464,7 @@ static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat) !(i2c->msg->flags & I2C_M_IGNORE_NAK)) { /* ack was not received... */ - dev_dbg(i2c->dev, "ack was not received\n"); + dev_err(i2c->dev, "ack was not received\n"); s3c24xx_i2c_stop(i2c, -ENXIO); goto out_ack; } @@ -813,9 +813,9 @@ static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c, * noisy when doing an i2cdetect */ if (timeout == 0) - dev_dbg(i2c->dev, "timeout\n"); + dev_err(i2c->dev, "timeout\n"); else if (ret != num) - dev_dbg(i2c->dev, "incomplete xfer (%d)\n", ret); + dev_err(i2c->dev, "incomplete xfer (%d)\n", ret); /* For QUIRK_HDMIPHY, bus is already disabled */ if (i2c->quirks & QUIRK_HDMIPHY)