V4L/DVB (6153): I2C bus 3 register was incorrect
authorSteven Toth <stoth@hauppauge.com>
Fri, 16 Mar 2007 14:48:33 +0000 (11:48 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:08:00 +0000 (22:08 -0300)
I2C bus 3 was being initialised with the incorrect address register.

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-core.c

index 4e6e8737e38e399e02f18995e56b59110d10194b..fda0c1631dbd45785397eb5de327414b521fd5bb 100644 (file)
@@ -722,7 +722,7 @@ static int cx23885_dev_setup(struct cx23885_dev *dev)
        dev->i2c_bus[2].dev = dev;
        dev->i2c_bus[2].reg_stat  = I2C3_STAT;
        dev->i2c_bus[2].reg_ctrl  = I2C3_CTRL;
-       dev->i2c_bus[2].reg_addr  = I2C2_ADDR;
+       dev->i2c_bus[2].reg_addr  = I2C3_ADDR;
        dev->i2c_bus[2].reg_rdata = I2C3_RDATA;
        dev->i2c_bus[2].reg_wdata = I2C3_WDATA;
        dev->i2c_bus[2].i2c_period = (0x07 << 24); /* 1.95MHz */