summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-03-22 18:25:20 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-03-22 18:25:20 -0400
commit9aedc3afe6f2dfec8fcc8fe66f5504ecd765b6b5 (patch)
treef96793e2054a7f4d848af6dd90650f0d179e8c0b
parentb0e3ba484735a6d92f3bb5e3f75dd956af5180bc (diff)
downloadmediapointer-dvb-s2-9aedc3afe6f2dfec8fcc8fe66f5504ecd765b6b5.tar.gz
mediapointer-dvb-s2-9aedc3afe6f2dfec8fcc8fe66f5504ecd765b6b5.tar.bz2
tda18271: fix typo in tda18271_calibrate_rf
From: Michael Krufky <mkrufky@linuxtv.org> The internal calibration signal must be set on the cal pll. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
-rw-r--r--linux/drivers/media/dvb/frontends/tda18271-fe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda18271-fe.c b/linux/drivers/media/dvb/frontends/tda18271-fe.c
index 7d1d13f22..57a06e865 100644
--- a/linux/drivers/media/dvb/frontends/tda18271-fe.c
+++ b/linux/drivers/media/dvb/frontends/tda18271-fe.c
@@ -325,8 +325,8 @@ static int tda18271_calibrate_rf(struct dvb_frontend *fe, u32 freq)
/* set the internal calibration signal */
N = freq;
- tda18271_calc_main_pll(fe, N);
- tda18271_write_regs(fe, R_MPD, 4);
+ tda18271_calc_cal_pll(fe, N);
+ tda18271_write_regs(fe, R_CPD, 4);
/* downconvert internal calibration */
N += 1000000;
@@ -351,7 +351,7 @@ static int tda18271_calibrate_rf(struct dvb_frontend *fe, u32 freq)
regs[R_EB7] &= ~0x20;
tda18271_write_regs(fe, R_EB7, 1);
- msleep(5); /* plls locking */
+ msleep(10); /* plls locking */
/* launch the rf tracking filters calibration */
regs[R_EB20] |= 0x20;