summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2006-05-13 00:31:51 +0100
committerAndrew de Quincey <adq_dvb@lidskialf.net>2006-05-13 00:31:51 +0100
commit4ded687d1a3b606f30b62e7acef61b75519e5402 (patch)
tree53f8b6bd768ff0aaac1ced1ccbbd086503acfcec
parent348451c7a70fd16d28358881e282612275e19dd2 (diff)
downloadmediapointer-dvb-s2-4ded687d1a3b606f30b62e7acef61b75519e5402.tar.gz
mediapointer-dvb-s2-4ded687d1a3b606f30b62e7acef61b75519e5402.tar.bz2
Fix PLL refactoring breakage to WinTV NOVA T USB 2 driver
From: Andrew de Quincey <adq_dvb@lidskialf.net> The calls to set the pll ops were in the wrong place - moved them. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dibusb-common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dibusb-common.c b/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
index b0435c8f8..99279f963 100644
--- a/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
+++ b/linux/drivers/media/dvb/dvb-usb/dibusb-common.c
@@ -173,11 +173,10 @@ int dibusb_dib3000mc_frontend_attach(struct dvb_usb_device *d)
struct dib3000_config demod_cfg;
struct dibusb_state *st = d->priv;
- d->fe->ops->tuner_ops.init = dvb_usb_tuner_init_i2c;
- d->fe->ops->tuner_ops.set_params = dvb_usb_tuner_set_params_i2c;
-
for (demod_cfg.demod_address = 0x8; demod_cfg.demod_address < 0xd; demod_cfg.demod_address++)
if ((d->fe = dib3000mc_attach(&demod_cfg,&d->i2c_adap,&st->ops)) != NULL) {
+ d->fe->ops->tuner_ops.init = dvb_usb_tuner_init_i2c;
+ d->fe->ops->tuner_ops.set_params = dvb_usb_tuner_set_params_i2c;
d->tuner_pass_ctrl = st->ops.tuner_pass_ctrl;
return 0;
}