diff options
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-dvb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c index fe1218fd44cb..d8c25a802561 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c | |||
@@ -314,7 +314,7 @@ static int dvb_register(struct cx23885_tsport *port) | |||
314 | struct cx23885_i2c *i2c_bus = NULL; | 314 | struct cx23885_i2c *i2c_bus = NULL; |
315 | struct videobuf_dvb_frontend *fe0; | 315 | struct videobuf_dvb_frontend *fe0; |
316 | 316 | ||
317 | fe0 = videobuf_dvb_get_frontend(&port->frontends, 0); | 317 | fe0 = videobuf_dvb_get_frontend(&port->frontends, 1); |
318 | if (!fe0) | 318 | if (!fe0) |
319 | return -EINVAL; | 319 | return -EINVAL; |
320 | 320 | ||
@@ -336,7 +336,7 @@ static int dvb_register(struct cx23885_tsport *port) | |||
336 | break; | 336 | break; |
337 | case CX23885_BOARD_HAUPPAUGE_HVR1800: | 337 | case CX23885_BOARD_HAUPPAUGE_HVR1800: |
338 | i2c_bus = &dev->i2c_bus[0]; | 338 | i2c_bus = &dev->i2c_bus[0]; |
339 | switch (alt_tuner) { // XXXXXX multifrontend? | 339 | switch (alt_tuner) { |
340 | case 1: | 340 | case 1: |
341 | fe0->dvb.frontend = | 341 | fe0->dvb.frontend = |
342 | dvb_attach(s5h1409_attach, | 342 | dvb_attach(s5h1409_attach, |
@@ -554,7 +554,7 @@ int cx23885_dvb_register(struct cx23885_tsport *port) | |||
554 | struct cx23885_dev *dev = port->dev; | 554 | struct cx23885_dev *dev = port->dev; |
555 | int err; | 555 | int err; |
556 | 556 | ||
557 | fe0 = videobuf_dvb_get_frontend(&port->frontends, 0); | 557 | fe0 = videobuf_dvb_get_frontend(&port->frontends, 1); |
558 | if (!fe0) | 558 | if (!fe0) |
559 | err = -EINVAL; | 559 | err = -EINVAL; |
560 | 560 | ||
@@ -583,7 +583,7 @@ int cx23885_dvb_unregister(struct cx23885_tsport *port) | |||
583 | { | 583 | { |
584 | struct videobuf_dvb_frontend *fe0; | 584 | struct videobuf_dvb_frontend *fe0; |
585 | 585 | ||
586 | fe0 = videobuf_dvb_get_frontend(&port->frontends, 0); | 586 | fe0 = videobuf_dvb_get_frontend(&port->frontends, 1); |
587 | /* dvb */ | 587 | /* dvb */ |
588 | if(fe0->dvb.frontend) | 588 | if(fe0->dvb.frontend) |
589 | videobuf_dvb_unregister_bus(&port->frontends); | 589 | videobuf_dvb_unregister_bus(&port->frontends); |