summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2008-09-05 01:35:19 +0200
committerOliver Endriss <o.endriss@gmx.de>2008-09-05 01:35:19 +0200
commit07212f90c77de2618bc0c21965c0991ac967b2af (patch)
tree0cc4de3dfd621e187918358cf62f9c93b6ed02fb /linux/drivers/media/dvb/ttpci
parent8e61ae987a8f9677891d4e9780f3769b2f9c10f2 (diff)
downloadmediapointer-dvb-s2-07212f90c77de2618bc0c21965c0991ac967b2af.tar.gz
mediapointer-dvb-s2-07212f90c77de2618bc0c21965c0991ac967b2af.tar.bz2
budget: Add callback to load firmware for the TDHD1 tuner
From: Oliver Endriss <o.endriss@gmx.de> Supply callback to load firmware for the TDHD1 tuner (using request_firmware). Priority: normal Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
-rw-r--r--linux/drivers/media/dvb/ttpci/budget.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget.c b/linux/drivers/media/dvb/ttpci/budget.c
index a4664ba5a..d95203d55 100644
--- a/linux/drivers/media/dvb/ttpci/budget.c
+++ b/linux/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)
{