]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6156): Added the I2C_FUNC_I2C support to the cx23885 i2c algo definition
authorSteven Toth <stoth@hauppauge.com>
Mon, 19 Mar 2007 21:03:03 +0000 (18:03 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:08:05 +0000 (22:08 -0300)
This is required to support the cx258xx family of audio and video decoders.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx23885/cx23885-i2c.c

index 6f5e207c11a69ff8a0463d63d3c1644e9cb716eb..dbd048d08dda198162dd8c8c9c309aa25ca03234 100644 (file)
@@ -279,7 +279,7 @@ static int cx23885_algo_control(struct i2c_adapter *adap,
 
 static u32 cx23885_functionality(struct i2c_adapter *adap)
 {
-       return I2C_FUNC_SMBUS_EMUL;
+       return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C;
 }
 
 static struct i2c_algorithm cx23885_i2c_algo_template = {