i2c: rcar: report slave capabilities to users
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
83caf9896a
commit
1fb2ad9565
|
@ -604,7 +604,8 @@ static int rcar_unreg_slave(struct i2c_client *slave)
|
|||
static u32 rcar_i2c_func(struct i2c_adapter *adap)
|
||||
{
|
||||
/* This HW can't do SMBUS_QUICK and NOSTART */
|
||||
return I2C_FUNC_I2C | (I2C_FUNC_SMBUS_EMUL & ~I2C_FUNC_SMBUS_QUICK);
|
||||
return I2C_FUNC_I2C | I2C_FUNC_SLAVE |
|
||||
(I2C_FUNC_SMBUS_EMUL & ~I2C_FUNC_SMBUS_QUICK);
|
||||
}
|
||||
|
||||
static const struct i2c_algorithm rcar_i2c_algo = {
|
||||
|
|
Loading…
Reference in New Issue