Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44119
b: refs/heads/master
c: 97a2cf0
h: refs/heads/master
i:
  44117: e6997c3
  44115: 0589fec
  44111: 8463ca8
v: v3
  • Loading branch information
Hartmut Birr authored and Mauro Carvalho Chehab committed Dec 10, 2006
1 parent 8d7ff89 commit 7190f1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 740cf9e15e5b2274841ee9e6d6d717e37b3f31cf
refs/heads/master: 97a2cf05c409f0f73346d3d258b643c782879c77
8 changes: 4 additions & 4 deletions trunk/drivers/media/dvb/ttpci/budget-ci.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ static int msp430_ir_init(struct budget_ci *budget_ci)
tasklet_init(&budget_ci->ir.msp430_irq_tasklet, msp430_ir_interrupt,
(unsigned long) budget_ci);

saa7146_write(saa, IER, saa7146_read(saa, IER) | MASK_06);
SAA7146_IER_ENABLE(saa, MASK_06);
saa7146_setgpio(saa, 3, SAA7146_GPIO_IRQHI);

return 0;
Expand All @@ -277,7 +277,7 @@ static void msp430_ir_deinit(struct budget_ci *budget_ci)
struct saa7146_dev *saa = budget_ci->budget.dev;
struct input_dev *dev = budget_ci->ir.dev;

saa7146_write(saa, IER, saa7146_read(saa, IER) & ~MASK_06);
SAA7146_IER_DISABLE(saa, MASK_06);
saa7146_setgpio(saa, 3, SAA7146_GPIO_INPUT);
tasklet_kill(&budget_ci->ir.msp430_irq_tasklet);

Expand Down Expand Up @@ -537,7 +537,7 @@ static int ciintf_init(struct budget_ci *budget_ci)
} else {
saa7146_setgpio(saa, 0, SAA7146_GPIO_IRQHI);
}
saa7146_write(saa, IER, saa7146_read(saa, IER) | MASK_03);
SAA7146_IER_ENABLE(saa, MASK_03);
}

// enable interface
Expand Down Expand Up @@ -569,7 +569,7 @@ static void ciintf_deinit(struct budget_ci *budget_ci)

// disable CI interrupts
if (budget_ci->ci_irq) {
saa7146_write(saa, IER, saa7146_read(saa, IER) & ~MASK_03);
SAA7146_IER_DISABLE(saa, MASK_03);
saa7146_setgpio(saa, 0, SAA7146_GPIO_INPUT);
tasklet_kill(&budget_ci->ciintf_irq_tasklet);
}
Expand Down

0 comments on commit 7190f1d

Please sign in to comment.