summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/it913x.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-03-07 21:59:41 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 19:05:00 -0300
commitd423e108c1d6ced41964fafc97c02e4b5d0597a1 (patch)
tree055614abc16bb9babb6a075d95fdeef8f18bc641 /drivers/media/tuners/it913x.c
parentdc4a2c40f87327c5859edc20a5b6b2afa6071d49 (diff)
[media] it913x: remove unused af9033 demod tuner config inits
Those are demodulator init tables according to used tuner tuner config. af9033 demod driver does those inits currently and due to that these duplicate inits could be removed. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/it913x.c')
-rw-r--r--drivers/media/tuners/it913x.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/media/tuners/it913x.c b/drivers/media/tuners/it913x.c
index ec4964ce8a58..2c60bf77ebfc 100644
--- a/drivers/media/tuners/it913x.c
+++ b/drivers/media/tuners/it913x.c
@@ -141,40 +141,10 @@ static int it913x_init(struct dvb_frontend *fe)
{
struct it913x_state *state = fe->tuner_priv;
int ret, i, reg;
- struct it913xset *set_lna;
u8 val, nv_val;
u8 nv[] = {48, 32, 24, 16, 12, 8, 6, 4, 2};
u8 b[2];
- /* LNA Scripts */
- switch (state->tuner_type) {
- case AF9033_TUNER_IT9135_51:
- set_lna = it9135_51;
- break;
- case AF9033_TUNER_IT9135_52:
- set_lna = it9135_52;
- break;
- case AF9033_TUNER_IT9135_60:
- set_lna = it9135_60;
- break;
- case AF9033_TUNER_IT9135_61:
- set_lna = it9135_61;
- break;
- case AF9033_TUNER_IT9135_62:
- set_lna = it9135_62;
- break;
- case AF9033_TUNER_IT9135_38:
- default:
- set_lna = it9135_38;
- }
-
- dev_dbg(&state->i2c_adap->dev, "%s: Tuner LNA type :%02x\n",
- KBUILD_MODNAME, state->tuner_type);
-
- ret = it913x_script_loader(state, set_lna);
- if (ret < 0)
- return ret;
-
if (state->chip_ver == 2) {
ret = it913x_wr_reg(state, PRO_DMOD, TRIGGER_OFSM, 0x1);
if (ret < 0)