Skip to contentSkip to conversation

i2c-au1550: Add SMBus functionality flag

PATCH New Greg KH 1 participant 1 message Sep 27, 2006 I2C subsystem host drivers

lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 10/30 i2c-au1550: Add SMBus functionality flag

From: Domen Puncer <domen.puncer at ultra.si>

i2c-au1550: Add SMBus functionality flag

Add SMBus functionality flag, so we can use eeprom and similar drivers.

Signed-off-by Domen Puncer <domen.puncer at ultra.si>
Signed-off-by Jean Delvare <khali at linux-fr.org>
Signed-off-by Greg Kroah-Hartman <gregkh at suse.de>
---
 drivers/i2c/busses/i2c-au1550.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/i2c/busses/i2c-au1550.c +1 -1
index 02a359e..7140eb0 100644
@@ -285,7 +285,7 @@ au1550_xfer(struct i2c_adapter *i2c_adap
 static u32
 au1550_func(struct i2c_adapter *adap)
 {
-	return I2C_FUNC_I2C;
+	return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
 }
 
 static struct i2c_algorithm au1550_algo = {
Signature · 1 line
1.4.2.1