diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-19 01:38:49 +0100 |
---|---|---|
committer | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-19 01:38:49 +0100 |
commit | 8c360c7605e4751038ad67e9fd79e5c1c96b81d6 (patch) | |
tree | ce48b4b56033a8f029e9561d548861d64b931fc2 /linux/drivers/media/dvb/frontends/mt352.c | |
parent | b641e6d90fe3ff6e71a613888d1c1ec22842adda (diff) | |
download | mediapointer-dvb-s2-8c360c7605e4751038ad67e9fd79e5c1c96b81d6.tar.gz mediapointer-dvb-s2-8c360c7605e4751038ad67e9fd79e5c1c96b81d6.tar.bz2 |
Convert calls from _pllbuf() to _calc_reg()
From: Andrew de Quincey <adq_dvb@lidskialf.net>
Johannes Stezenbach suggested this change - definite improvement.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/mt352.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/mt352.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/mt352.c b/linux/drivers/media/dvb/frontends/mt352.c index 3c86018e7..ed3bede02 100644 --- a/linux/drivers/media/dvb/frontends/mt352.c +++ b/linux/drivers/media/dvb/frontends/mt352.c @@ -302,8 +302,8 @@ static int mt352_set_parameters(struct dvb_frontend* fe, // retrieve the pllbuf - we do this even if there is no // secondary tuner simply so we have a record of what was sent for // debugging. - if (fe->ops->tuner_ops.pllbuf) { - fe->ops->tuner_ops.pllbuf(fe, param, buf+8, 5); + if (fe->ops->tuner_ops.calc_regs) { + fe->ops->tuner_ops.calc_regs(fe, param, buf+8, 5); buf[8] <<= 1; mt352_write(fe, buf, sizeof(buf)); } |