Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ed73683f06475531fb39e7ae9afe3011e4c5f8c1
Commit:     ed73683f06475531fb39e7ae9afe3011e4c5f8c1
Parent:     3473e342d79be938497a31caedd3c4e8d562485f
Author:     Michael Krufky <[EMAIL PROTECTED]>
AuthorDate: Sat Jan 19 17:41:04 2008 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:05:09 2008 -0200

    V4L/DVB (7052): tda18271: when tuning digital, the analog demod must be 
tri-stated
    
    Call analog_ops.standby during tda18271_set_params, to put the tda8295
    in tri-state when tuning digital channels.  Otherwise the tda8295 will
    interfere with the signal coming from the tda18271 into the digital
    demodulator.
    
    Signed-off-by: Michael Krufky <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 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 dd3657e..dfe72aa 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,
 
        priv->mode = TDA18271_DIGITAL;
 
-       /* see table 22 */
        if (fe->ops.info.type == FE_ATSC) {
                switch (params->u.vsb.modulation) {
                case VSB_8:
@@ -884,6 +883,10 @@ static int tda18271_set_params(struct dvb_frontend *fe,
                return -EINVAL;
        }
 
+       /* When tuning digital, the analog demod must be tri-stated */
+       if (fe->ops.analog_ops.standby)
+               fe->ops.analog_ops.standby(fe);
+
        ret = tda18271_tune(fe, sgIF * 1000, freq, bw, std, 0);
 
        if (ret < 0)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to