diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-12-02 00:32:49 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:03:12 -0500 |
commit | 1457263e9df6911384c474532a49d1b25bc9d248 (patch) | |
tree | 11d42dda097579e2923e3ebc93438e013e376dd3 /drivers/media/dvb | |
parent | efce841093589bfef571a07e18e5446def9e04b4 (diff) |
V4L/DVB (6724): tda18271: remove duplicated code
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/frontends/tda18271-fe.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/dvb/frontends/tda18271-fe.c index 25c127f67c22..1944177da873 100644 --- a/drivers/media/dvb/frontends/tda18271-fe.c +++ b/drivers/media/dvb/frontends/tda18271-fe.c | |||
@@ -359,12 +359,7 @@ static int tda18271_tune(struct dvb_frontend *fe, | |||
359 | u32 div, N = 0; | 359 | u32 div, N = 0; |
360 | int i; | 360 | int i; |
361 | 361 | ||
362 | tda18271_read_regs(fe); | 362 | tda18271_init(fe); |
363 | |||
364 | /* test IR_CAL_OK to see if we need init */ | ||
365 | if ((regs[R_EP1] & 0x08) == 0) | ||
366 | tda18271_init_regs(fe); | ||
367 | |||
368 | 363 | ||
369 | dprintk(1, "freq = %d, ifc = %d\n", freq, ifc); | 364 | dprintk(1, "freq = %d, ifc = %d\n", freq, ifc); |
370 | 365 | ||