summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-12-02 00:32:49 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2007-12-02 00:32:49 -0500
commit770ad653c5820c33e580feeeea29733f0806db9d (patch)
treec9fa1cfc38473f6136fc02e6a84a617d30260ed5 /linux/drivers/media/dvb
parentdec053bf7e536421dc5c18e56236951a4f3b94e1 (diff)
downloadmediapointer-dvb-s2-770ad653c5820c33e580feeeea29733f0806db9d.tar.gz
mediapointer-dvb-s2-770ad653c5820c33e580feeeea29733f0806db9d.tar.bz2
tda18271: remove duplicated code
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/frontends/tda18271-fe.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda18271-fe.c b/linux/drivers/media/dvb/frontends/tda18271-fe.c
index 17bfeb875..93755373f 100644
--- a/linux/drivers/media/dvb/frontends/tda18271-fe.c
+++ b/linux/drivers/media/dvb/frontends/tda18271-fe.c
@@ -360,12 +360,7 @@ static int tda18271_tune(struct dvb_frontend *fe,
u32 div, N = 0;
int i;
- tda18271_read_regs(fe);
-
- /* test IR_CAL_OK to see if we need init */
- if ((regs[R_EP1] & 0x08) == 0)
- tda18271_init_regs(fe);
-
+ tda18271_init(fe);
#if 0
/* FIXME: FM Radio support */
if (t->mode == V4L2_TUNER_RADIO)