summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2004-03-12 22:06:03 +0000
committerAndrew de Quincy <devnull@localhost>2004-03-12 22:06:03 +0000
commitbc34a4e82bab2226142c577dc4b534c2da5a307c (patch)
tree6457dc8b3d9d869c30266f44f374b2b89a4c81ed /linux
parent03547477ede923b77962e986b085df9c223ce544 (diff)
downloadmediapointer-dvb-s2-bc34a4e82bab2226142c577dc4b534c2da5a307c.tar.gz
mediapointer-dvb-s2-bc34a4e82bab2226142c577dc4b534c2da5a307c.tar.bz2
SMP compilation fixes thanks to Kenneth Aafløy
Diffstat (limited to 'linux')
-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)