diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-19 22:31:03 +0100 |
---|---|---|
committer | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-19 22:31:03 +0100 |
commit | 48c7a56c98cf2342c83cedb2e25748b602383d9c (patch) | |
tree | a1a8f5bbdea1a616ce45bea050bc2eed7e9d9163 /linux/drivers/media/dvb | |
parent | 8c360c7605e4751038ad67e9fd79e5c1c96b81d6 (diff) | |
download | mediapointer-dvb-s2-48c7a56c98cf2342c83cedb2e25748b602383d9c.tar.gz mediapointer-dvb-s2-48c7a56c98cf2342c83cedb2e25748b602383d9c.tar.bz2 |
Fix tda10046 tuning
From: Andrew de Quincey <adq_dvb@lidskialf.net>
I'd missed the i2c gate ctrl function out of the tda10046, so tuning didn't work
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/cxusb.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/dvb/frontends/tda1004x.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/cxusb.c b/linux/drivers/media/dvb/dvb-usb/cxusb.c index e93f7b092..c5b5db7bc 100644 --- a/linux/drivers/media/dvb/dvb-usb/cxusb.c +++ b/linux/drivers/media/dvb/dvb-usb/cxusb.c @@ -315,7 +315,7 @@ static int cxusb_mt352_demod_init(struct dvb_frontend* fe) } static int cxusb_lgh064f_tuner_set_params(struct dvb_frontend *fe, - struct dvb_frontend_parameters *fep) + struct dvb_frontend_parameters *fep) { struct dvb_usb_device *d = fe->dvb->priv; return lg_h06xf_pll_set(fe, &d->i2c_adap, fep); @@ -429,7 +429,7 @@ static int cxusb_dee1601_frontend_attach(struct dvb_usb_device *d) cxusb_ctrl_msg(d,CMD_DIGITAL, NULL, 0, NULL, 0); if ((d->fe = mt352_attach(&cxusb_dee1601_config, &d->i2c_adap)) != NULL) { - d->fe->ops->tuner_ops.calc_regs = dvb_usb_tuner_calc_regs; + d->fe->ops->tuner_ops.calc_regs = dvb_usb_tuner_calc_regs; return 0; } diff --git a/linux/drivers/media/dvb/frontends/tda1004x.c b/linux/drivers/media/dvb/frontends/tda1004x.c index d9abce753..5288b44cf 100644 --- a/linux/drivers/media/dvb/frontends/tda1004x.c +++ b/linux/drivers/media/dvb/frontends/tda1004x.c @@ -1276,6 +1276,7 @@ static struct dvb_frontend_ops tda10046_ops = { .init = tda10046_init, .sleep = tda1004x_sleep, + .i2c_gate_ctrl = tda1004x_i2c_gate_ctrl, .set_frontend = tda1004x_set_fe, .get_frontend = tda1004x_get_fe, |