diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-18 22:47:11 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 06:58:57 +0200 |
commit | 02269f37727901e326adf52d61512e4f00c85597 (patch) | |
tree | e6f1555f63f9a848538cd7394ab92b6284e4991e /drivers/media/dvb/frontends/lgdt330x.c | |
parent | V4L/DVB (3870): Convert dib3000* to refactored tuner code (diff) | |
download | linux-02269f37727901e326adf52d61512e4f00c85597.tar.xz linux-02269f37727901e326adf52d61512e4f00c85597.zip |
V4L/DVB (3871): Convert lgdt330x to refactored tuner code
Convert to tuner_ops calls.
Remove pll function pointers from structure.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/lgdt330x.c')
-rw-r--r-- | drivers/media/dvb/frontends/lgdt330x.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/lgdt330x.c b/drivers/media/dvb/frontends/lgdt330x.c index 0c0a21c6030f..5deb6445aca5 100644 --- a/drivers/media/dvb/frontends/lgdt330x.c +++ b/drivers/media/dvb/frontends/lgdt330x.c @@ -400,8 +400,10 @@ static int lgdt330x_set_parameters(struct dvb_frontend* fe, } /* Tune to the specified frequency */ - if (state->config->pll_set) - state->config->pll_set(fe, param); + if (fe->ops->tuner_ops.set_params) { + fe->ops->tuner_ops.set_params(fe, param); + if (fe->ops->i2c_gate_ctrl) fe->ops->i2c_gate_ctrl(fe, 0); + } /* Keep track of the new frequency */ /* FIXME this is the wrong way to do this... */ |