diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-05-12 19:31:51 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:00:20 -0400 |
commit | 9a10655ffa20b596fd162b1c96301f3bed752918 (patch) | |
tree | 260cd005db42e1d872128c964d5c7c069682b493 /drivers | |
parent | 2e2aef7d5a8ac9d1c9b2c07a9fc96a7908d51d72 (diff) |
V4L/DVB (4011): Fix PLL refactoring breakage to WinTV NOVA T USB 2 driver
The calls to set the pll ops were in the wrong place - moved them.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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 b0435c8f82f..99279f963d6 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 | } |