diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-18 20:38:49 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 00:59:34 -0400 |
commit | bd4956b8ec2075e965492647e0c7006a36efe5d9 (patch) | |
tree | 66d5ebecc0cdc84543cae07ca16a5d1a20aefb90 /drivers/media/dvb/frontends/mt352.c | |
parent | b12faeffb179e5397c7c443b0e86e447891125a6 (diff) |
V4L/DVB (3893): Convert calls from _pllbuf() to _calc_reg()
Johannes Stezenbach suggested this change - definite improvement.
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/mt352.c')
-rw-r--r-- | drivers/media/dvb/frontends/mt352.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/mt352.c b/drivers/media/dvb/frontends/mt352.c index 3c86018e7f9d..ed3bede029eb 100644 --- a/drivers/media/dvb/frontends/mt352.c +++ b/drivers/media/dvb/frontends/mt352.c | |||
@@ -302,8 +302,8 @@ static int mt352_set_parameters(struct dvb_frontend* fe, | |||
302 | // retrieve the pllbuf - we do this even if there is no | 302 | // retrieve the pllbuf - we do this even if there is no |
303 | // secondary tuner simply so we have a record of what was sent for | 303 | // secondary tuner simply so we have a record of what was sent for |
304 | // debugging. | 304 | // debugging. |
305 | if (fe->ops->tuner_ops.pllbuf) { | 305 | if (fe->ops->tuner_ops.calc_regs) { |
306 | fe->ops->tuner_ops.pllbuf(fe, param, buf+8, 5); | 306 | fe->ops->tuner_ops.calc_regs(fe, param, buf+8, 5); |
307 | buf[8] <<= 1; | 307 | buf[8] <<= 1; |
308 | mt352_write(fe, buf, sizeof(buf)); | 308 | mt352_write(fe, buf, sizeof(buf)); |
309 | } | 309 | } |