Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179451
b: refs/heads/master
c: 1fa1f10
h: refs/heads/master
i:
  179449: b433873
  179447: 718f143
v: v3
  • Loading branch information
Sigmund Augdal authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent 84acfb0 commit 9526b25
Show file tree
Hide file tree
Showing 2 changed files with 3 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: e2f67e4fb931b975058b3bd48eaac43780c92c88
refs/heads/master: 1fa1f107852484157c5453cc6c4a60c792f06c35
2 changes: 2 additions & 0 deletions trunk/drivers/media/dvb/frontends/mb86a16.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ static int mb86a16_read_status(struct dvb_frontend *fe, fe_status_t *status)
{
struct mb86a16_state *state = fe->demodulator_priv;

*status = 0;
if (state->signal & 0x02)
*status |= FE_HAS_VITERBI;
if (state->signal & 0x01)
Expand Down Expand Up @@ -1693,6 +1694,7 @@ static int mb86a16_read_snr(struct dvb_frontend *fe, u16 *snr)
int low_tide = 2, high_tide = 30, q_level;
u8 cn;

*snr = 0;
if (mb86a16_read(state, 0x26, &cn) != 2) {
dprintk(verbose, MB86A16_ERROR, 1, "I2C transfer error");
return -EREMOTEIO;
Expand Down

0 comments on commit 9526b25

Please sign in to comment.