Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37367
b: refs/heads/master
c: d12a9b9
h: refs/heads/master
i:
  37365: 517f981
  37363: 269b8a0
  37359: 1a21330
v: v3
  • Loading branch information
Yeasah Pell authored and Mauro Carvalho Chehab committed Sep 26, 2006
1 parent 2a6ce10 commit 40e6675
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bbdd11fa957913d6648cabbca59be1da479180ed
refs/heads/master: d12a9b911c793ab5b6b02379880efd6fa3499575
6 changes: 6 additions & 0 deletions trunk/drivers/media/dvb/frontends/cx24123.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,12 @@ static int cx24123_set_fec(struct cx24123_state* state, fe_code_rate_t fec)
if ( (fec < FEC_NONE) || (fec > FEC_AUTO) )
fec = FEC_AUTO;

/* Set the soft decision threshold */
if(fec == FEC_1_2)
cx24123_writereg(state, 0x43, cx24123_readreg(state, 0x43) | 0x01);
else
cx24123_writereg(state, 0x43, cx24123_readreg(state, 0x43) & ~0x01);

switch (fec) {
case FEC_1_2:
dprintk("%s: set FEC to 1/2\n",__FUNCTION__);
Expand Down

0 comments on commit 40e6675

Please sign in to comment.