Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366682
b: refs/heads/master
c: d19812e
h: refs/heads/master
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Mar 21, 2013
1 parent 9dbbde7 commit 1b4e0ea
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 42432b3ce89eaf817284f0c6ff81dfd7b4ed35b3
refs/heads/master: d19812eb5f1efed3fa0ba5d752da5f24d8c89701
12 changes: 8 additions & 4 deletions trunk/drivers/media/tuners/it913x.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,9 @@ static int it913x_init(struct dvb_frontend *fe)

if (state->config->chip_ver == 2) {
ret = it913x_wr_reg(state, PRO_DMOD, TRIGGER_OFSM, 0x1);
ret |= it913x_wr_reg(state, PRO_LINK, PADODPU, 0x0);
ret |= it913x_wr_reg(state, PRO_LINK, AGC_O_D, 0x0);
if (ret < 0)
return -ENODEV;
}
if (ret < 0)
return -ENODEV;

reg = it913x_rd_reg(state, 0xec86);
switch (reg) {
Expand Down Expand Up @@ -252,6 +250,12 @@ static int it913x_init(struct dvb_frontend *fe)
}
}

/* Power Up Tuner - common all versions */
ret = it913x_wr_reg(state, PRO_DMOD, 0xec40, 0x1);
ret |= it913x_wr_reg(state, PRO_DMOD, 0xfba8, 0x0);
ret |= it913x_wr_reg(state, PRO_DMOD, 0xec57, 0x0);
ret |= it913x_wr_reg(state, PRO_DMOD, 0xec58, 0x0);

return it913x_wr_reg(state, PRO_DMOD, 0xed81, val);
}

Expand Down

0 comments on commit 1b4e0ea

Please sign in to comment.