Skip to content

Commit 3303f5c

Browse files
yihsin-hungasus-leslieyu
authored andcommitted
Modify the i2c log level from error to debug
Change-Id: I5ae1871f31389b22ced356159a10927f96ea11be Signed-off-by: yi-hsin_hung <yi-hsin_hung@asus.com>
1 parent 8547534 commit 3303f5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/i2c/busses/i2c-rk3x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ static int rk3x_i2c_setup(struct rk3x_i2c *i2c, struct i2c_msg *msgs, int num, b
990990
dev_dbg(i2c->dev, "Combined write/read from addr 0x%x\n",
991991
addr >> 1);
992992

993-
dev_err(i2c->dev, "flags from: %d, %d, addr: 0x%x\n", msgs[0].flags, msgs[1].flags, msgs[0].addr);
993+
dev_dbg(i2c->dev, "flags from: %d, %d, addr: 0x%x\n", msgs[0].flags, msgs[1].flags, msgs[0].addr);
994994
/* Fill MRXRADDR with the register address(es) */
995995
for (i = 0; i < msgs[0].len; ++i) {
996996
reg_addr |= msgs[0].buf[i] << (i * 8);

0 commit comments

Comments
 (0)