From: Devin Heitmueller Date: Thu, 23 Jul 2009 00:49:28 +0000 (-0300) Subject: [media] xc4000: properly set type for init1 firmware X-Git-Tag: MMI-PSA29.97-13-9~18729^2~385 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6bf60d56b36d7d4d0bdfb2996d56b064923ea541;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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)