Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125534
b: refs/heads/master
c: 899a6f6
h: refs/heads/master
v: v3
  • Loading branch information
Dmitri Belimov authored and Mauro Carvalho Chehab committed Jan 2, 2009
1 parent 55a599b commit a5d5a38
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 91f7c130c277a08ebef92ac23ed60adc62e505e0
refs/heads/master: 899a6f67b90206c330bd93c7c8f3f8bb8b80397a
7 changes: 7 additions & 0 deletions trunk/drivers/media/dvb/frontends/zl10353.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,15 @@ static int zl10353_init(struct dvb_frontend *fe)

static int zl10353_i2c_gate_ctrl(struct dvb_frontend* fe, int enable)
{
struct zl10353_state *state = fe->demodulator_priv;
u8 val = 0x0a;

if (state->config.no_tuner) {
/* No tuner attached to the internal I2C bus */
/* If set enable I2C bridge, the main I2C bus stopped hardly */
return 0;
}

if (enable)
val |= 0x10;

Expand Down

0 comments on commit a5d5a38

Please sign in to comment.