diff options
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/ttpci-budget/budget-core.c | 5 | ||||
-rw-r--r-- | linux/drivers/media/dvb/ttpci-budget/budget.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/ttpci-budget/budget-core.c b/linux/drivers/media/dvb/ttpci-budget/budget-core.c index d580488d2..72eee8b0c 100644 --- a/linux/drivers/media/dvb/ttpci-budget/budget-core.c +++ b/linux/drivers/media/dvb/ttpci-budget/budget-core.c @@ -402,6 +402,11 @@ int budget_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *i dvb_register_adapter(&budget->dvb_adapter, budget->card->name); + /* set dd1 stream a & b */ + saa7146_write(dev, DD1_STREAM_B, 0x00000000); + saa7146_write(dev, DD1_INIT, 0x02000000); + saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); + /* the Siemens DVB needs this if you want to have the i2c chips get recognized before the main driver is loaded */ saa7146_write(dev, GPIO_CTRL, 0x500000); diff --git a/linux/drivers/media/dvb/ttpci-budget/budget.c b/linux/drivers/media/dvb/ttpci-budget/budget.c index b632e1901..93f4789ac 100644 --- a/linux/drivers/media/dvb/ttpci-budget/budget.c +++ b/linux/drivers/media/dvb/ttpci-budget/budget.c @@ -66,11 +66,6 @@ int this_budget_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_da } budget = (struct budget_s*)dev->ext_priv; - /* set dd1 stream a & b */ - saa7146_write(dev, DD1_STREAM_B, 0x00000000); - saa7146_write(dev, DD1_INIT, 0x02000000); - saa7146_write(dev, MC2, (MASK_09 | MASK_25 | MASK_10 | MASK_26)); - // FIXME: cope with error here! budget_register(budget); printk(KERN_INFO "budget: found budget card '%s'.\n",budget->card->name); |