Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=839c6c96d05894815b7af0dff22b710ce5a4373a
Commit:     839c6c96d05894815b7af0dff22b710ce5a4373a
Parent:     518d87399baee908b0353bc0ef7d41c3c46295ec
Author:     Michael Krufky <[EMAIL PROTECTED]>
AuthorDate: Sun Jan 13 18:29:44 2008 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:04:59 2008 -0200

    V4L/DVB (7028): tda18271: test RF_CAL_OK to see if we need additional RF 
calibration
    
    Test RF_CAL_OK to see if we need to perform the RF tracking filter
    calibration after returning from standby.
    
    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, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/media/dvb/frontends/tda18271-fe.c 
b/drivers/media/dvb/frontends/tda18271-fe.c
index c8ab1fd..8eb9a53 100644
--- a/drivers/media/dvb/frontends/tda18271-fe.c
+++ b/drivers/media/dvb/frontends/tda18271-fe.c
@@ -586,6 +586,11 @@ static int tda18271_calc_rf_filter_curve(struct 
dvb_frontend *fe)
 static int tda18271_rf_cal_init(struct dvb_frontend *fe)
 {
        struct tda18271_priv *priv = fe->tuner_priv;
+       unsigned char *regs = priv->tda18271_regs;
+
+       /* test RF_CAL_OK to see if we need init */
+       if ((regs[R_EP1] & 0x10) == 0)
+               priv->cal_initialized = false;
 
        if (priv->cal_initialized)
                return 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