Skip to content

Commit 8f41405

Browse files
Marek VasutWolfram Sang
authored andcommitted
i2c: mxs: Do not disable the I2C SMBus quick mode
There is no reason to disable the I2C SMBus quick mode on this IP block. Enable it. This essentially fixes the problem with the "i2c-detect" command for probing the bus. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
1 parent c35d3cf commit 8f41405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/i2c-mxs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ static int mxs_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[],
359359

360360
static u32 mxs_i2c_func(struct i2c_adapter *adap)
361361
{
362-
return I2C_FUNC_I2C | (I2C_FUNC_SMBUS_EMUL & ~I2C_FUNC_SMBUS_QUICK);
362+
return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
363363
}
364364

365365
static irqreturn_t mxs_i2c_isr(int this_irq, void *dev_id)

0 commit comments

Comments
 (0)