Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367145
b: refs/heads/master
c: b5e2b97
h: refs/heads/master
i:
  367143: d45f69e
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Apr 17, 2013
1 parent 655cf62 commit 5a4efc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: f26588947b613925f11f5336320ff4d11b617a62
refs/heads/master: b5e2b97b0ba474dd2abd672be320d1f1030800e8
6 changes: 3 additions & 3 deletions trunk/drivers/media/tuners/r820t.c
Original file line number Diff line number Diff line change
Expand Up @@ -1216,12 +1216,12 @@ static int r820t_set_gain_mode(struct r820t_priv *priv,
return rc;
} else {
/* LNA */
rc = r820t_write_reg_mask(priv, 0x05, 0, 0xef);
rc = r820t_write_reg_mask(priv, 0x05, 0, 0x10);
if (rc < 0)
return rc;

/* Mixer */
rc = r820t_write_reg_mask(priv, 0x07, 0x10, 0xef);
rc = r820t_write_reg_mask(priv, 0x07, 0x10, 0x10);
if (rc < 0)
return rc;

Expand Down Expand Up @@ -1261,7 +1261,7 @@ static int generic_set_freq(struct dvb_frontend *fe,
if (rc < 0)
goto err;

rc = r820t_set_gain_mode(priv, true, 0);
rc = r820t_set_gain_mode(priv, false, 0);
if (rc < 0)
goto err;

Expand Down

0 comments on commit 5a4efc9

Please sign in to comment.