summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci-budget
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-01-15 07:04:13 +0000
committerMichael Hunold <devnull@localhost>2003-01-15 07:04:13 +0000
commitaa2af06793de04a2e6b0141c509def180a96f7b8 (patch)
treeacc840e1d8443277ec47dbeefdb07b4dfa6b6a56 /linux/drivers/media/dvb/ttpci-budget
parent8b66c89b2a6d7bec1ce0d650732db341b03ca5a4 (diff)
downloadmediapointer-dvb-s2-aa2af06793de04a2e6b0141c509def180a96f7b8.tar.gz
mediapointer-dvb-s2-aa2af06793de04a2e6b0141c509def180a96f7b8.tar.bz2
Fixed the "frontend not recognnized on first load" bug by
explicitely enabling the frontend, when budget-core gets loaded.
Diffstat (limited to 'linux/drivers/media/dvb/ttpci-budget')
-rw-r--r--linux/drivers/media/dvb/ttpci-budget/budget-core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget-core.c b/linux/drivers/media/dvb/ttpci-budget/budget-core.c
index 47ec3a8fe..db9f9b053 100644
--- a/linux/drivers/media/dvb/ttpci-budget/budget-core.c
+++ b/linux/drivers/media/dvb/ttpci-budget/budget-core.c
@@ -419,6 +419,10 @@ int budget_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *i
dvb_register_adapter(&budget->dvb_adapter, budget->card->name);
+ /* the Siemens DVB needs this if you want to have the i2c chips
+ get recognized before the main driver is loaded */
+ saa7146_write(saa->mem, GPIO_CTRL, 0x500000);
+
saa7146_i2c_adapter_prepare(dev, NULL, SAA7146_I2C_BUS_BIT_RATE_3200);
budget->i2c_bus = dvb_register_i2c_bus (master_xfer, dev, budget->dvb_adapter, 0);