mirror of https://gitee.com/openkylin/linux.git
i2c: xiic: fix indentation issue
There is a statement that is indented one level too deeply, remove
the extraneous tab.
Fixes: b4c119dbc3
("i2c: xiic: Add timeout to the rx fifo wait loop")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Shubhrajyoti Datta <shubhrajyoti.datta@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
eca95cd5a3
commit
878508aed4
|
@ -261,7 +261,7 @@ static int xiic_clear_rx_fifo(struct xiic_i2c *i2c)
|
|||
xiic_getreg8(i2c, XIIC_DRR_REG_OFFSET);
|
||||
if (time_after(jiffies, timeout)) {
|
||||
dev_err(i2c->dev, "Failed to clear rx fifo\n");
|
||||
return -ETIMEDOUT;
|
||||
return -ETIMEDOUT;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue