Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250223
b: refs/heads/master
c: 853e3b2
h: refs/heads/master
i:
  250221: e19d0d8
  250219: 6e43b0b
  250215: 206bdcb
  250207: e40081d
v: v3
  • Loading branch information
Malcolm Priestley authored and Mauro Carvalho Chehab committed May 20, 2011
1 parent 62c3815 commit 3e8da4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 08921ac9e9d185d6f472238ea9c79a3a70eb7ea7
refs/heads/master: 853e3b2930001534b88fb36e936c9a734a79046c
10 changes: 6 additions & 4 deletions trunk/drivers/media/dvb/frontends/ix2505v.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,13 @@ static int ix2505v_set_params(struct dvb_frontend *fe,
fe->ops.i2c_gate_ctrl(fe, 1);

len = sizeof(data);

ret |= ix2505v_write(state, data, len);

data[2] |= 0x4; /* set TM = 1 other bits same */

if (fe->ops.i2c_gate_ctrl)
fe->ops.i2c_gate_ctrl(fe, 1);

len = 1;
ret |= ix2505v_write(state, &data[2], len); /* write byte 4 only */

Expand All @@ -233,12 +235,12 @@ static int ix2505v_set_params(struct dvb_frontend *fe,

deb_info("Data 2=[%x%x]\n", data[2], data[3]);

if (fe->ops.i2c_gate_ctrl)
fe->ops.i2c_gate_ctrl(fe, 1);

len = 2;
ret |= ix2505v_write(state, &data[2], len); /* write byte 4 & 5 */

if (fe->ops.i2c_gate_ctrl)
fe->ops.i2c_gate_ctrl(fe, 0);

if (state->config->min_delay_ms)
msleep(state->config->min_delay_ms);

Expand Down

0 comments on commit 3e8da4f

Please sign in to comment.