Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366701
b: refs/heads/master
c: 086991d
h: refs/heads/master
i:
  366699: 0d23835
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Mar 21, 2013
1 parent 8a6279e commit a6a7684
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 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: d423e108c1d6ced41964fafc97c02e4b5d0597a1
refs/heads/master: 086991dd106bda1c43a294a874563322e0d777e4
9 changes: 9 additions & 0 deletions trunk/drivers/media/dvb-frontends/af9033.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,15 @@ static int af9033_init(struct dvb_frontend *fe)
goto err;
}

switch (state->cfg.tuner) {
case AF9033_TUNER_IT9135_60:
case AF9033_TUNER_IT9135_61:
case AF9033_TUNER_IT9135_62:
ret = af9033_wr_reg(state, 0x800000, 0x01);
if (ret < 0)
goto err;
}

state->bandwidth_hz = 0; /* force to program all parameters */

return 0;
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/media/tuners/it913x.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,6 @@ static int it913x_init(struct dvb_frontend *fe)
u8 nv[] = {48, 32, 24, 16, 12, 8, 6, 4, 2};
u8 b[2];

if (state->chip_ver == 2) {
ret = it913x_wr_reg(state, PRO_DMOD, TRIGGER_OFSM, 0x1);
if (ret < 0)
return -ENODEV;
}

reg = it913x_rd_reg(state, 0xec86);
switch (reg) {
case 0:
Expand Down

0 comments on commit a6a7684

Please sign in to comment.