mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
i2c-nomadik: support smbus emulation
We can do smbus emulation so flag this and drop the duplicate flags implied from smbus emulation. Acked-by: Srinidhi Kasagar <[email protected]> Signed-off-by: Sundar R Iyer <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
This commit is contained in:
parent
8ef4f4e4af
commit
5680bc6ec7
1 changed files with 1 additions and 4 deletions
|
|
@ -803,10 +803,7 @@ static irqreturn_t i2c_irq_handler(int irq, void *arg)
|
|||
|
||||
static unsigned int nmk_i2c_functionality(struct i2c_adapter *adap)
|
||||
{
|
||||
return I2C_FUNC_I2C
|
||||
| I2C_FUNC_SMBUS_BYTE_DATA
|
||||
| I2C_FUNC_SMBUS_WORD_DATA
|
||||
| I2C_FUNC_SMBUS_I2C_BLOCK;
|
||||
return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
|
||||
}
|
||||
|
||||
static const struct i2c_algorithm nmk_i2c_algo = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue