summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2008-09-05 03:35:19 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 15:36:57 +0400
commit83512e207479d0bdb83ee1e000a306af9e6e870e (patch)
treec7943cb69e5eaa44aaddb19f2ad1fa8938167a93 /drivers/media/dvb/ttpci
parent9e615eac827094147401c44c9ff955b468d4fa79 (diff)
downloadlinux-83512e207479d0bdb83ee1e000a306af9e6e870e.tar.xz
V4L/DVB (8890): budget: Add callback to load firmware for the TDHD1 tuner
Supply callback to load firmware for the TDHD1 tuner (using request_firmware). Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ttpci')
-rw-r--r--drivers/media/dvb/ttpci/budget.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/dvb/ttpci/budget.c b/drivers/media/dvb/ttpci/budget.c
index a4664ba5aded..d95203d55403 100644
--- a/drivers/media/dvb/ttpci/budget.c
+++ b/drivers/media/dvb/ttpci/budget.c
@@ -391,6 +391,13 @@ static struct stv0299_config alps_bsbe1_config_activy = {
.set_symbol_rate = alps_bsbe1_set_symbol_rate,
};
+static int alps_tdhd1_204_request_firmware(struct dvb_frontend *fe, const struct firmware **fw, char *name)
+{
+ struct budget *budget = (struct budget *)fe->dvb->priv;
+
+ return request_firmware(fw, name, &budget->dev->pci->dev);
+}
+
static int i2c_readreg(struct i2c_adapter *i2c, u8 adr, u8 reg)
{