Commit 1457263e authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

V4L/DVB (6724): tda18271: remove duplicated code

Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent efce8410
...@@ -359,12 +359,7 @@ static int tda18271_tune(struct dvb_frontend *fe, ...@@ -359,12 +359,7 @@ static int tda18271_tune(struct dvb_frontend *fe,
u32 div, N = 0; u32 div, N = 0;
int i; int i;
tda18271_read_regs(fe); tda18271_init(fe);
/* test IR_CAL_OK to see if we need init */
if ((regs[R_EP1] & 0x08) == 0)
tda18271_init_regs(fe);
dprintk(1, "freq = %d, ifc = %d\n", freq, ifc); dprintk(1, "freq = %d, ifc = %d\n", freq, ifc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment