Loading drivers/media/tuners/it913x.c +12 −12 Original line number Original line Diff line number Diff line Loading @@ -156,22 +156,22 @@ static int it913x_init(struct dvb_frontend *fe) /* LNA Scripts */ /* LNA Scripts */ switch (state->tuner_type) { switch (state->tuner_type) { case IT9135_51: case AF9033_TUNER_IT9135_51: set_lna = it9135_51; set_lna = it9135_51; break; break; case IT9135_52: case AF9033_TUNER_IT9135_52: set_lna = it9135_52; set_lna = it9135_52; break; break; case IT9135_60: case AF9033_TUNER_IT9135_60: set_lna = it9135_60; set_lna = it9135_60; break; break; case IT9135_61: case AF9033_TUNER_IT9135_61: set_lna = it9135_61; set_lna = it9135_61; break; break; case IT9135_62: case AF9033_TUNER_IT9135_62: set_lna = it9135_62; set_lna = it9135_62; break; break; case IT9135_38: case AF9033_TUNER_IT9135_38: default: default: set_lna = it9135_38; set_lna = it9135_38; } } Loading Loading @@ -444,14 +444,14 @@ struct dvb_frontend *it913x_attach(struct dvb_frontend *fe, state->i2c_addr = i2c_addr; state->i2c_addr = i2c_addr; switch (config) { switch (config) { case IT9135_38: case AF9033_TUNER_IT9135_38: case IT9135_51: case AF9033_TUNER_IT9135_51: case IT9135_52: case AF9033_TUNER_IT9135_52: state->chip_ver = 0x01; state->chip_ver = 0x01; break; break; case IT9135_60: case AF9033_TUNER_IT9135_60: case IT9135_61: case AF9033_TUNER_IT9135_61: case IT9135_62: case AF9033_TUNER_IT9135_62: state->chip_ver = 0x02; state->chip_ver = 0x02; break; break; default: default: Loading drivers/media/tuners/it913x_priv.h +1 −9 Original line number Original line Diff line number Diff line Loading @@ -24,15 +24,7 @@ #define IT913X_PRIV_H #define IT913X_PRIV_H #include "it913x.h" #include "it913x.h" #include "af9033.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 #define PRO_LINK 0x0 #define PRO_LINK 0x0 #define PRO_DMOD 0x1 #define PRO_DMOD 0x1 Loading Loading
drivers/media/tuners/it913x.c +12 −12 Original line number Original line Diff line number Diff line Loading @@ -156,22 +156,22 @@ static int it913x_init(struct dvb_frontend *fe) /* LNA Scripts */ /* LNA Scripts */ switch (state->tuner_type) { switch (state->tuner_type) { case IT9135_51: case AF9033_TUNER_IT9135_51: set_lna = it9135_51; set_lna = it9135_51; break; break; case IT9135_52: case AF9033_TUNER_IT9135_52: set_lna = it9135_52; set_lna = it9135_52; break; break; case IT9135_60: case AF9033_TUNER_IT9135_60: set_lna = it9135_60; set_lna = it9135_60; break; break; case IT9135_61: case AF9033_TUNER_IT9135_61: set_lna = it9135_61; set_lna = it9135_61; break; break; case IT9135_62: case AF9033_TUNER_IT9135_62: set_lna = it9135_62; set_lna = it9135_62; break; break; case IT9135_38: case AF9033_TUNER_IT9135_38: default: default: set_lna = it9135_38; set_lna = it9135_38; } } Loading Loading @@ -444,14 +444,14 @@ struct dvb_frontend *it913x_attach(struct dvb_frontend *fe, state->i2c_addr = i2c_addr; state->i2c_addr = i2c_addr; switch (config) { switch (config) { case IT9135_38: case AF9033_TUNER_IT9135_38: case IT9135_51: case AF9033_TUNER_IT9135_51: case IT9135_52: case AF9033_TUNER_IT9135_52: state->chip_ver = 0x01; state->chip_ver = 0x01; break; break; case IT9135_60: case AF9033_TUNER_IT9135_60: case IT9135_61: case AF9033_TUNER_IT9135_61: case IT9135_62: case AF9033_TUNER_IT9135_62: state->chip_ver = 0x02; state->chip_ver = 0x02; break; break; default: default: Loading
drivers/media/tuners/it913x_priv.h +1 −9 Original line number Original line Diff line number Diff line Loading @@ -24,15 +24,7 @@ #define IT913X_PRIV_H #define IT913X_PRIV_H #include "it913x.h" #include "it913x.h" #include "af9033.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 #define PRO_LINK 0x0 #define PRO_LINK 0x0 #define PRO_DMOD 0x1 #define PRO_DMOD 0x1 Loading