summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-03-22 18:19:01 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-03-22 18:19:01 -0400
commitb0e3ba484735a6d92f3bb5e3f75dd956af5180bc (patch)
treef72ef9a77836004163c0553e77d84f588d24ccc7 /linux/drivers/media/dvb/frontends
parent9dc9f909cf3815bc60336feecea6dce9f437f042 (diff)
downloadmediapointer-dvb-s2-b0e3ba484735a6d92f3bb5e3f75dd956af5180bc.tar.gz
mediapointer-dvb-s2-b0e3ba484735a6d92f3bb5e3f75dd956af5180bc.tar.bz2
tda18271: write EP3 thru MD3 for image rejection low band initialization
From: Michael Krufky <mkrufky@linuxtv.org> Both the tda18271 c1 and c2 parts only need EP3 through MD3 to be written for the image rejection calibration's low band initialization. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/tda18271-common.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda18271-common.c b/linux/drivers/media/dvb/frontends/tda18271-common.c
index e5e8a7497..3ce11df2b 100644
--- a/linux/drivers/media/dvb/frontends/tda18271-common.c
+++ b/linux/drivers/media/dvb/frontends/tda18271-common.c
@@ -355,14 +355,7 @@ int tda18271_init_regs(struct dvb_frontend *fe)
regs[R_MD2] = 0x08;
regs[R_MD3] = 0x00;
- switch (priv->id) {
- case TDA18271HDC1:
- tda18271_write_regs(fe, R_EP3, 11);
- break;
- case TDA18271HDC2:
- tda18271_write_regs(fe, R_EP3, 12);
- break;
- };
+ tda18271_write_regs(fe, R_EP3, 11);
if ((priv->id) == TDA18271HDC2) {
/* main pll cp source on */
@@ -430,6 +423,7 @@ int tda18271_init_regs(struct dvb_frontend *fe)
tda18271_write_regs(fe, R_EP3, 11);
msleep(5); /* pll locking */
+ /* launch detector */
#if 0
regs[R_EP1] = 0xc6; /* already set */
#endif