Browse Source

V4L/DVB (6153): I2C bus 3 register was incorrect

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>
Steven Toth 18 years ago
parent
commit
a2129af5b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/video/cx23885/cx23885-core.c

+ 1 - 1
drivers/media/video/cx23885/cx23885-core.c

@@ -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 */