V4L/DVB (6890): tda18271: fix typo in RF tracking filter calibration
authorMichael Krufky <mkrufky@linuxtv.org>
Fri, 21 Dec 2007 17:28:46 +0000 (14:28 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:04:13 +0000 (19:04 -0200)
We want to set bits 1 & 2 on easy programming byte 4, not extended byte 4.

Thanks to David Wong for pointing this out.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Cc: David Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/tda18271-fe.c

index 3c0f06e1f47dc61524687a7a6a13f840e7a2caec..8eaeb057282ac169186f0b1843d059b8be0eb0de 100644 (file)
@@ -406,7 +406,7 @@ static int tda18271_tune(struct dvb_frontend *fe,
        tda18271_write_regs(fe, R_EB20, 1);
 
        /* set CAL mode to RF tracking filter calibration */
-       regs[R_EB4]  |= 0x03;
+       regs[R_EP4]  |= 0x03;
 
        /* calculate CAL PLL */