diff options
-rw-r--r-- | drivers/media/dvb/frontends/tda18271-fe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/dvb/frontends/tda18271-fe.c index dd3657e459b1..dfe72aaec380 100644 --- a/drivers/media/dvb/frontends/tda18271-fe.c +++ b/drivers/media/dvb/frontends/tda18271-fe.c | |||
@@ -836,7 +836,6 @@ static int tda18271_set_params(struct dvb_frontend *fe, | |||
836 | 836 | ||
837 | priv->mode = TDA18271_DIGITAL; | 837 | priv->mode = TDA18271_DIGITAL; |
838 | 838 | ||
839 | /* see table 22 */ | ||
840 | if (fe->ops.info.type == FE_ATSC) { | 839 | if (fe->ops.info.type == FE_ATSC) { |
841 | switch (params->u.vsb.modulation) { | 840 | switch (params->u.vsb.modulation) { |
842 | case VSB_8: | 841 | case VSB_8: |
@@ -884,6 +883,10 @@ static int tda18271_set_params(struct dvb_frontend *fe, | |||
884 | return -EINVAL; | 883 | return -EINVAL; |
885 | } | 884 | } |
886 | 885 | ||
886 | /* When tuning digital, the analog demod must be tri-stated */ | ||
887 | if (fe->ops.analog_ops.standby) | ||
888 | fe->ops.analog_ops.standby(fe); | ||
889 | |||
887 | ret = tda18271_tune(fe, sgIF * 1000, freq, bw, std, 0); | 890 | ret = tda18271_tune(fe, sgIF * 1000, freq, bw, std, 0); |
888 | 891 | ||
889 | if (ret < 0) | 892 | if (ret < 0) |