Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13368
b: refs/heads/master
c: c58c21c
h: refs/heads/master
v: v3
  • Loading branch information
nshmyrev@yandex.ru authored and Linus Torvalds committed Nov 9, 2005
1 parent ad431cc commit 00d695a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 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: cf1c5d1d58793bb9320467226ffc850c75c20902
refs/heads/master: c58c21c7a2ef7d1eb45231d5c1bb24d88a9666b8
18 changes: 15 additions & 3 deletions trunk/drivers/media/video/bttv-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3736,10 +3736,22 @@ static irqreturn_t bttv_irq(int irq, void *dev_id, struct pt_regs * regs)

count++;
if (count > 4) {
btwrite(0, BT848_INT_MASK);
printk(KERN_ERR
"bttv%d: IRQ lockup, cleared int mask [", btv->c.nr);

if (count > 8 || !(astat & BT848_INT_GPINT)) {
btwrite(0, BT848_INT_MASK);

printk(KERN_ERR
"bttv%d: IRQ lockup, cleared int mask [", btv->c.nr);
} else {
printk(KERN_ERR
"bttv%d: IRQ lockup, clearing GPINT from int mask [", btv->c.nr);

btwrite(btread(BT848_INT_MASK) & (-1 ^ BT848_INT_GPINT),
BT848_INT_MASK);
};

bttv_print_irqbits(stat,astat);

printk("]\n");
}
}
Expand Down

0 comments on commit 00d695a

Please sign in to comment.