[media] xc4000: properly set type for init1 firmware
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Thu, 23 Jul 2009 00:49:28 +0000 (21:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:52:28 +0000 (17:52 -0300)
We need to set the firmware type properly in order to locate the init1
firmware.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/xc4000.c

index 5d1390c2f50da029a63b1e73b2c3bb2a7c67ec76..a7f8b29e38fd5f24997d9d04e81c8cfd3d95d3dc 100644 (file)
@@ -1339,7 +1339,7 @@ struct dvb_frontend *xc4000_attach(struct dvb_frontend *fe,
        tuner_dbg("Load init1 firmware, if exists\n");
 
 //     rc = load_firmware(fe, BASE | INIT1 | new_fw.type, &std0);
-       rc = load_firmware(fe, INIT1, &std0);
+       rc = load_firmware(fe, BASE | INIT1, &std0);
        printk("init1 load result %x\n", rc);
 
        if (xc4000_readreg(priv, XREG_PRODUCT_ID, &id) != XC_RESULT_SUCCESS)