summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-ci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-ci.c b/linux/drivers/media/dvb/ttpci/budget-ci.c
index fe00ea0a3..c19fe2ae7 100644
--- a/linux/drivers/media/dvb/ttpci/budget-ci.c
+++ b/linux/drivers/media/dvb/ttpci/budget-ci.c
@@ -273,12 +273,12 @@ static int ciintf_init(struct budget_ci* budget_ci)
{
struct saa7146_dev *saa = budget_ci->budget.dev;
- // enable DEBI pins +transfers
- saa7146_write(saa, MC1, saa7146_read(saa, MC1) | (0x880 << 16) | 0x880);
+ // enable DEBI pins
+ saa7146_write(saa, MC1, saa7146_read(saa, MC1) | (0x800 << 16) | 0x800);
// test if it is there
if ((budget_debiread(budget_ci, DEBICICTL, DEBIADDR_CIVERSION, 1) & 0xa0) != 0xa0) {
- saa7146_write(saa, MC1, saa7146_read(saa, MC1) | (0x880 << 16));
+ saa7146_write(saa, MC1, saa7146_read(saa, MC1) | (0x800 << 16));
return -ENODEV;
}
@@ -318,8 +318,8 @@ static void ciintf_deinit(struct budget_ci* budget_ci)
// FIXME: disable TS data stream to CI interface
saa7146_setgpio(saa, 1, SAA7146_GPIO_INPUT);
- // disable DEBI pins+transfers again
- saa7146_write(saa, MC1, saa7146_read(saa, MC1) | (0x880 << 16));
+ // disable DEBI pins again
+ saa7146_write(saa, MC1, saa7146_read(saa, MC1) | (0x800 << 16));
}
static void budget_ci_irq (struct saa7146_dev *dev, u32 *isr)