Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97761
b: refs/heads/master
c: 67642a0
h: refs/heads/master
i:
  97759: a3bf9f3
v: v3
  • Loading branch information
Sigmund Augdal authored and Mauro Carvalho Chehab committed Jun 5, 2008
1 parent 76c3ea7 commit 2cd0b39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a9606ce697ed719071fcccee8591ff033fa5e16d
refs/heads/master: 67642a0a58143761d7415f0587e0ac6dd6371251
4 changes: 2 additions & 2 deletions trunk/drivers/media/common/tuners/tda827x.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,13 +418,13 @@ static void tda827xa_lna_gain(struct dvb_frontend *fe, int high,
unsigned char buf[] = {0x22, 0x01};
int arg;
int gp_func;
struct i2c_msg msg = { .addr = priv->cfg->switch_addr, .flags = 0,
.buf = buf, .len = sizeof(buf) };
struct i2c_msg msg = { .flags = 0, .buf = buf, .len = sizeof(buf) };

if (NULL == priv->cfg) {
dprintk("tda827x_config not defined, cannot set LNA gain!\n");
return;
}
msg.addr = priv->cfg->switch_addr;
if (priv->cfg->config) {
if (high)
dprintk("setting LNA to high gain\n");
Expand Down

0 comments on commit 2cd0b39

Please sign in to comment.