aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/s5h1411.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/s5h1411.c')
-rw-r--r--drivers/media/dvb/frontends/s5h1411.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/s5h1411.c b/drivers/media/dvb/frontends/s5h1411.c
index e328d88bcbd4..40e0fedf381e 100644
--- a/drivers/media/dvb/frontends/s5h1411.c
+++ b/drivers/media/dvb/frontends/s5h1411.c
@@ -585,9 +585,6 @@ static int s5h1411_set_frontend(struct dvb_frontend *fe,
585 585
586 s5h1411_enable_modulation(fe, p->u.vsb.modulation); 586 s5h1411_enable_modulation(fe, p->u.vsb.modulation);
587 587
588 /* Allow the demod to settle */
589 msleep(100);
590
591 if (fe->ops.tuner_ops.set_params) { 588 if (fe->ops.tuner_ops.set_params) {
592 if (fe->ops.i2c_gate_ctrl) 589 if (fe->ops.i2c_gate_ctrl)
593 fe->ops.i2c_gate_ctrl(fe, 1); 590 fe->ops.i2c_gate_ctrl(fe, 1);
@@ -598,6 +595,10 @@ static int s5h1411_set_frontend(struct dvb_frontend *fe,
598 fe->ops.i2c_gate_ctrl(fe, 0); 595 fe->ops.i2c_gate_ctrl(fe, 0);
599 } 596 }
600 597
598 /* Issue a reset to the demod so it knows to resync against the
599 newly tuned frequency */
600 s5h1411_softreset(fe);
601
601 return 0; 602 return 0;
602} 603}
603 604