Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356995
b: refs/heads/master
c: 0176fd4
h: refs/heads/master
i:
  356993: 3138038
  356991: 0681023
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Dec 18, 2012
1 parent cfef9bf commit 33b6a4b
Show file tree
Hide file tree
Showing 3 changed files with 8 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: 5b7d8de7d2328f7b25fe4645eafee7e48f9b7df3
refs/heads/master: 0176fd4d25d684ea38014b8e2c3221790d5c94d8
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb-frontends/tda10071.c
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ static int tda10071_init(struct dvb_frontend *fe)
cmd.args[2] = 0x00;
cmd.args[3] = 0x00;
cmd.args[4] = 0x00;
cmd.args[5] = 0x14;
cmd.args[5] = (priv->cfg.tuner_i2c_addr) ? priv->cfg.tuner_i2c_addr : 0x14;
cmd.args[6] = 0x00;
cmd.args[7] = 0x03;
cmd.args[8] = 0x02;
Expand Down
6 changes: 6 additions & 0 deletions trunk/drivers/media/dvb-frontends/tda10071.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ struct tda10071_config {
*/
u8 i2c_address;

/* Tuner I2C address.
* Default: 0x14
* Values: 0x14, 0x54, ...
*/
u8 tuner_i2c_addr;

/* Max bytes I2C provider can write at once.
* Note: Buffer is taken from the stack currently!
* Default: none, must set
Expand Down

0 comments on commit 33b6a4b

Please sign in to comment.