aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/frontends/tda18271-common.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-common.c b/drivers/media/dvb/frontends/tda18271-common.c
index bbfc22a5f6db..84d430c52854 100644
--- a/drivers/media/dvb/frontends/tda18271-common.c
+++ b/drivers/media/dvb/frontends/tda18271-common.c
@@ -355,14 +355,7 @@ int tda18271_init_regs(struct dvb_frontend *fe)
355 regs[R_MD2] = 0x08; 355 regs[R_MD2] = 0x08;
356 regs[R_MD3] = 0x00; 356 regs[R_MD3] = 0x00;
357 357
358 switch (priv->id) { 358 tda18271_write_regs(fe, R_EP3, 11);
359 case TDA18271HDC1:
360 tda18271_write_regs(fe, R_EP3, 11);
361 break;
362 case TDA18271HDC2:
363 tda18271_write_regs(fe, R_EP3, 12);
364 break;
365 };
366 359
367 if ((priv->id) == TDA18271HDC2) { 360 if ((priv->id) == TDA18271HDC2) {
368 /* main pll cp source on */ 361 /* main pll cp source on */
@@ -404,6 +397,7 @@ int tda18271_init_regs(struct dvb_frontend *fe)
404 tda18271_write_regs(fe, R_EP3, 11); 397 tda18271_write_regs(fe, R_EP3, 11);
405 msleep(5); /* pll locking */ 398 msleep(5); /* pll locking */
406 399
400 /* launch detector */
407 tda18271_write_regs(fe, R_EP1, 1); 401 tda18271_write_regs(fe, R_EP1, 1);
408 msleep(5); /* wanted mid measurement */ 402 msleep(5); /* wanted mid measurement */
409 403