Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92548
b: refs/heads/master
c: e83ebb6
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 2450f98 commit 494c3f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c3ea9941c4957e4a9c229878bd13a39ac4d0e4b
refs/heads/master: e83ebb64eff4636a5eab06a6cc493ab51e900ed0
10 changes: 2 additions & 8 deletions trunk/drivers/media/dvb/frontends/tda18271-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -404,6 +397,7 @@ int tda18271_init_regs(struct dvb_frontend *fe)
tda18271_write_regs(fe, R_EP3, 11);
msleep(5); /* pll locking */

/* launch detector */
tda18271_write_regs(fe, R_EP1, 1);
msleep(5); /* wanted mid measurement */

Expand Down

0 comments on commit 494c3f4

Please sign in to comment.