diff options
-rw-r--r-- | linux/drivers/media/dvb/ttpci-budget/budget-core.c | 4 |
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); |