summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/xc4000.c
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2009-07-23 02:49:28 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 22:52:28 +0200
commit6bf60d56b36d7d4d0bdfb2996d56b064923ea541 (patch)
treefdb4944e52e673e22ed138ce67d7d94cedc0ce58 /drivers/media/common/tuners/xc4000.c
parent[media] xc4000: cut over to using xc5000 version for loading i2c sequences (diff)
downloadlinux-6bf60d56b36d7d4d0bdfb2996d56b064923ea541.tar.xz
linux-6bf60d56b36d7d4d0bdfb2996d56b064923ea541.zip
[media] xc4000: properly set type for init1 firmware
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>
Diffstat (limited to '')
-rw-r--r--drivers/media/common/tuners/xc4000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/xc4000.c b/drivers/media/common/tuners/xc4000.c
index 5d1390c2f50d..a7f8b29e38fd 100644
--- a/drivers/media/common/tuners/xc4000.c
+++ b/drivers/media/common/tuners/xc4000.c
@@ -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)