Commit 599bedb7 authored by Matthias Schwarzott's avatar Matthias Schwarzott Committed by Mauro Carvalho Chehab

[media] cx231xx_dvb: use demod_i2c for demod attach

Tested:
* CX231XX_BOARD_HAUPPAUGE_930C_HD_1113xx
* CX231XX_BOARD_HAUPPAUGE_930C_HD_1114xx

Not Tested:
* CX231XX_BOARD_HAUPPAUGE_EXETER
* CX231XX_BOARD_HAUPPAUGE_955Q
Signed-off-by: default avatarMatthias Schwarzott <zzam@gentoo.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 9bca6266
...@@ -352,7 +352,7 @@ struct cx231xx_board cx231xx_boards[] = { ...@@ -352,7 +352,7 @@ struct cx231xx_board cx231xx_boards[] = {
.agc_analog_digital_select_gpio = 0x0c, .agc_analog_digital_select_gpio = 0x0c,
.gpio_pin_status_mask = 0x4001000, .gpio_pin_status_mask = 0x4001000,
.tuner_i2c_master = I2C_1_MUX_1, .tuner_i2c_master = I2C_1_MUX_1,
.demod_i2c_master = I2C_2, .demod_i2c_master = I2C_1_MUX_1,
.has_dvb = 1, .has_dvb = 1,
.demod_addr = 0x0e, .demod_addr = 0x0e,
.norm = V4L2_STD_NTSC, .norm = V4L2_STD_NTSC,
...@@ -713,7 +713,7 @@ struct cx231xx_board cx231xx_boards[] = { ...@@ -713,7 +713,7 @@ struct cx231xx_board cx231xx_boards[] = {
.agc_analog_digital_select_gpio = 0x0c, .agc_analog_digital_select_gpio = 0x0c,
.gpio_pin_status_mask = 0x4001000, .gpio_pin_status_mask = 0x4001000,
.tuner_i2c_master = I2C_1_MUX_3, .tuner_i2c_master = I2C_1_MUX_3,
.demod_i2c_master = I2C_2, .demod_i2c_master = I2C_1_MUX_3,
.has_dvb = 1, .has_dvb = 1,
.demod_addr = 0x0e, .demod_addr = 0x0e,
.norm = V4L2_STD_PAL, .norm = V4L2_STD_PAL,
...@@ -752,7 +752,7 @@ struct cx231xx_board cx231xx_boards[] = { ...@@ -752,7 +752,7 @@ struct cx231xx_board cx231xx_boards[] = {
.agc_analog_digital_select_gpio = 0x0c, .agc_analog_digital_select_gpio = 0x0c,
.gpio_pin_status_mask = 0x4001000, .gpio_pin_status_mask = 0x4001000,
.tuner_i2c_master = I2C_1_MUX_3, .tuner_i2c_master = I2C_1_MUX_3,
.demod_i2c_master = I2C_2, .demod_i2c_master = I2C_1_MUX_3,
.has_dvb = 1, .has_dvb = 1,
.demod_addr = 0x0e, .demod_addr = 0x0e,
.norm = V4L2_STD_PAL, .norm = V4L2_STD_PAL,
...@@ -791,7 +791,7 @@ struct cx231xx_board cx231xx_boards[] = { ...@@ -791,7 +791,7 @@ struct cx231xx_board cx231xx_boards[] = {
.agc_analog_digital_select_gpio = 0x0c, .agc_analog_digital_select_gpio = 0x0c,
.gpio_pin_status_mask = 0x4001000, .gpio_pin_status_mask = 0x4001000,
.tuner_i2c_master = I2C_1_MUX_3, .tuner_i2c_master = I2C_1_MUX_3,
.demod_i2c_master = I2C_2, .demod_i2c_master = I2C_1_MUX_3,
.has_dvb = 1, .has_dvb = 1,
.demod_addr = 0x0e, .demod_addr = 0x0e,
.norm = V4L2_STD_NTSC, .norm = V4L2_STD_NTSC,
......
...@@ -725,7 +725,7 @@ static int dvb_init(struct cx231xx *dev) ...@@ -725,7 +725,7 @@ static int dvb_init(struct cx231xx *dev)
dev->dvb->frontend = dvb_attach(lgdt3305_attach, dev->dvb->frontend = dvb_attach(lgdt3305_attach,
&hcw_lgdt3305_config, &hcw_lgdt3305_config,
tuner_i2c); demod_i2c);
if (dev->dvb->frontend == NULL) { if (dev->dvb->frontend == NULL) {
dev_err(dev->dev, dev_err(dev->dev,
...@@ -746,7 +746,7 @@ static int dvb_init(struct cx231xx *dev) ...@@ -746,7 +746,7 @@ static int dvb_init(struct cx231xx *dev)
dev->dvb->frontend = dvb_attach(si2165_attach, dev->dvb->frontend = dvb_attach(si2165_attach,
&hauppauge_930C_HD_1113xx_si2165_config, &hauppauge_930C_HD_1113xx_si2165_config,
tuner_i2c demod_i2c
); );
if (dev->dvb->frontend == NULL) { if (dev->dvb->frontend == NULL) {
...@@ -779,7 +779,7 @@ static int dvb_init(struct cx231xx *dev) ...@@ -779,7 +779,7 @@ static int dvb_init(struct cx231xx *dev)
dev->dvb->frontend = dvb_attach(si2165_attach, dev->dvb->frontend = dvb_attach(si2165_attach,
&pctv_quatro_stick_1114xx_si2165_config, &pctv_quatro_stick_1114xx_si2165_config,
tuner_i2c demod_i2c
); );
if (dev->dvb->frontend == NULL) { if (dev->dvb->frontend == NULL) {
...@@ -835,7 +835,7 @@ static int dvb_init(struct cx231xx *dev) ...@@ -835,7 +835,7 @@ static int dvb_init(struct cx231xx *dev)
dev->dvb->frontend = dvb_attach(lgdt3306a_attach, dev->dvb->frontend = dvb_attach(lgdt3306a_attach,
&hauppauge_955q_lgdt3306a_config, &hauppauge_955q_lgdt3306a_config,
tuner_i2c demod_i2c
); );
if (dev->dvb->frontend == NULL) { if (dev->dvb->frontend == NULL) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment