Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e65ec752ced103eb86e5f9c1f747f06d3e266780
Commit:     e65ec752ced103eb86e5f9c1f747f06d3e266780
Parent:     f992a497c71981e215b1415759fc13593ed2919f
Author:     Hartmut Hackmann <[EMAIL PROTECTED]>
AuthorDate: Thu Mar 22 20:58:43 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 15:45:15 2007 -0300

    V4L/DVB (5484): Set tda8290 to analog mode after init
    
    Set tda8290 to analog mode after init, otherwise the tuner driver will
    not accept i.e. the standby command.
    
    Signed-off-by: Hartmut Hackmann <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/tda8290.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c
index 44348f9..1a1bef0 100644
--- a/drivers/media/video/tda8290.c
+++ b/drivers/media/video/tda8290.c
@@ -462,7 +462,6 @@ static void set_audio(struct tuner *t)
        char* mode;
 
        t->tda827x_lpsel = 0;
-       mode = "xx";
        if (t->std & V4L2_STD_MN) {
                t->sgIF = 92;
                t->tda8290_easy_mode = 0x01;
@@ -492,8 +491,12 @@ static void set_audio(struct tuner *t)
                t->sgIF = 20;
                t->tda8290_easy_mode = 0x40;
                mode = "LC";
+       } else {
+               t->sgIF = 124;
+               t->tda8290_easy_mode = 0x10;
+               mode = "xx";
        }
-    tuner_dbg("setting tda8290 to system %s\n", mode);
+       tuner_dbg("setting tda8290 to system %s\n", mode);
 }
 
 static void set_tv_freq(struct i2c_client *c, unsigned int freq)
@@ -636,6 +639,7 @@ int tda8290_init(struct i2c_client *c)
        t->has_signal = has_signal;
        t->standby = standby;
        t->tda827x_lpsel = 0;
+       t->mode = V4L2_TUNER_ANALOG_TV;
 
        tda8290_init_tuner(c);
        tda8290_init_if(c);
-
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