diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb-common.c b/drivers/media/dvb/dvb-usb/dibusb-common.c index b0435c8f82fd..99279f963d6f 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-common.c +++ b/drivers/media/dvb/dvb-usb/dibusb-common.c | |||
@@ -173,11 +173,10 @@ int dibusb_dib3000mc_frontend_attach(struct dvb_usb_device *d) | |||
173 | struct dib3000_config demod_cfg; | 173 | struct dib3000_config demod_cfg; |
174 | struct dibusb_state *st = d->priv; | 174 | struct dibusb_state *st = d->priv; |
175 | 175 | ||
176 | d->fe->ops->tuner_ops.init = dvb_usb_tuner_init_i2c; | ||
177 | d->fe->ops->tuner_ops.set_params = dvb_usb_tuner_set_params_i2c; | ||
178 | |||
179 | for (demod_cfg.demod_address = 0x8; demod_cfg.demod_address < 0xd; demod_cfg.demod_address++) | 176 | for (demod_cfg.demod_address = 0x8; demod_cfg.demod_address < 0xd; demod_cfg.demod_address++) |
180 | if ((d->fe = dib3000mc_attach(&demod_cfg,&d->i2c_adap,&st->ops)) != NULL) { | 177 | if ((d->fe = dib3000mc_attach(&demod_cfg,&d->i2c_adap,&st->ops)) != NULL) { |
178 | d->fe->ops->tuner_ops.init = dvb_usb_tuner_init_i2c; | ||
179 | d->fe->ops->tuner_ops.set_params = dvb_usb_tuner_set_params_i2c; | ||
181 | d->tuner_pass_ctrl = st->ops.tuner_pass_ctrl; | 180 | d->tuner_pass_ctrl = st->ops.tuner_pass_ctrl; |
182 | return 0; | 181 | return 0; |
183 | } | 182 | } |