Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=47bd5bc6486a5288aa3002533c24c8e9e564f9ac
Commit:     47bd5bc6486a5288aa3002533c24c8e9e564f9ac
Parent:     aeb012bbf460171b75ba17dc064a543f7256521f
Author:     Chris Pascoe <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 19 23:11:37 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:02:32 2008 -0200

    V4L/DVB (6650): xc2028: base firmwares should have std0
    
    When loading BASE firmware, we must use std = 0.
    
    Signed-off-by: Chris Pascoe <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/tuner-xc2028.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/tuner-xc2028.c 
b/drivers/media/video/tuner-xc2028.c
index 8f9ccae..115738d 100644
--- a/drivers/media/video/tuner-xc2028.c
+++ b/drivers/media/video/tuner-xc2028.c
@@ -614,6 +614,7 @@ static int check_firmware(struct dvb_frontend *fe, enum 
tuner_mode new_mode,
        unsigned int            type = 0;
        struct firmware_properties new_fw;
        u16                     version, hwmodel;
+       v4l2_std_id             std0;
 
        tuner_dbg("%s called\n", __FUNCTION__);
 
@@ -690,7 +691,9 @@ retry:
        if (rc < 0)
                goto fail;
 
-       rc = load_firmware(fe, BASE | new_fw.type, &new_fw.id);
+       /* BASE firmwares are all std0 */
+       std0 = 0;
+       rc = load_firmware(fe, BASE | new_fw.type, &std0);
        if (rc < 0) {
                tuner_err("Error %d while loading base firmware\n",
                          rc);
@@ -700,7 +703,7 @@ retry:
        /* Load INIT1, if needed */
        tuner_dbg("Load init1 firmware, if exists\n");
 
-       rc = load_firmware(fe, BASE | INIT1 | new_fw.type, &new_fw.id);
+       rc = load_firmware(fe, BASE | INIT1 | new_fw.type, &std0);
        if (rc < 0 && rc != -ENOENT) {
                tuner_err("Error %d while loading init1 firmware\n",
                          rc);
-
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