Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366685
b: refs/heads/master
c: c0d300a
h: refs/heads/master
i:
  366683: dfb8103
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Mar 21, 2013
1 parent f3692b0 commit 41f83c3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 22 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: 108597979297c75646889e307e276db57aa6d5b8
refs/heads/master: c0d300a66979c7a836c75f6e2d33727543245368
24 changes: 12 additions & 12 deletions trunk/drivers/media/tuners/it913x.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,22 +156,22 @@ static int it913x_init(struct dvb_frontend *fe)

/* LNA Scripts */
switch (state->tuner_type) {
case IT9135_51:
case AF9033_TUNER_IT9135_51:
set_lna = it9135_51;
break;
case IT9135_52:
case AF9033_TUNER_IT9135_52:
set_lna = it9135_52;
break;
case IT9135_60:
case AF9033_TUNER_IT9135_60:
set_lna = it9135_60;
break;
case IT9135_61:
case AF9033_TUNER_IT9135_61:
set_lna = it9135_61;
break;
case IT9135_62:
case AF9033_TUNER_IT9135_62:
set_lna = it9135_62;
break;
case IT9135_38:
case AF9033_TUNER_IT9135_38:
default:
set_lna = it9135_38;
}
Expand Down Expand Up @@ -444,14 +444,14 @@ struct dvb_frontend *it913x_attach(struct dvb_frontend *fe,
state->i2c_addr = i2c_addr;

switch (config) {
case IT9135_38:
case IT9135_51:
case IT9135_52:
case AF9033_TUNER_IT9135_38:
case AF9033_TUNER_IT9135_51:
case AF9033_TUNER_IT9135_52:
state->chip_ver = 0x01;
break;
case IT9135_60:
case IT9135_61:
case IT9135_62:
case AF9033_TUNER_IT9135_60:
case AF9033_TUNER_IT9135_61:
case AF9033_TUNER_IT9135_62:
state->chip_ver = 0x02;
break;
default:
Expand Down
10 changes: 1 addition & 9 deletions trunk/drivers/media/tuners/it913x_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,7 @@
#define IT913X_PRIV_H

#include "it913x.h"

/* Build in tuner types */
#define IT9137 0x38
#define IT9135_38 0x38
#define IT9135_51 0x51
#define IT9135_52 0x52
#define IT9135_60 0x60
#define IT9135_61 0x61
#define IT9135_62 0x62
#include "af9033.h"

#define PRO_LINK 0x0
#define PRO_DMOD 0x1
Expand Down

0 comments on commit 41f83c3

Please sign in to comment.