Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92553
b: refs/heads/master
c: 40194b2
h: refs/heads/master
i:
  92551: 0631456
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent b6a7645 commit fc16276
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 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: e7809a07663f868f596b5f08a63db9a32240502c
refs/heads/master: 40194b2b1bdd01358c1e9b5a9b8dd78390cc05f7
12 changes: 11 additions & 1 deletion trunk/drivers/media/dvb/frontends/tda18271-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ static int tda18271_channel_configuration(struct dvb_frontend *fe,
regs[R_EP3] &= ~0x1f; /* clear std bits */
regs[R_EP3] |= (map->agc_mode << 3) | map->std;

/* set rfagc to high speed mode */
regs[R_EP3] &= ~0x04;

/* set cal mode to normal */
regs[R_EP4] &= ~0x03;

Expand Down Expand Up @@ -125,7 +128,14 @@ static int tda18271_channel_configuration(struct dvb_frontend *fe,
regs[R_EB4] &= ~0x20;
tda18271_write_regs(fe, R_EB4, 1);

msleep(5);
msleep(20);

/* set rfagc to normal speed mode */
if (map->fm_rfn)
regs[R_EP3] &= ~0x04;
else
regs[R_EP3] |= 0x04;
tda18271_write_regs(fe, R_EP3, 1);

return 0;
}
Expand Down

0 comments on commit fc16276

Please sign in to comment.