Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138342
b: refs/heads/master
c: 0b61dca
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 74de1ff commit b5280ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: fbc0ae205c5dfb1049a36f0a98cc9211a3a090bb
refs/heads/master: 0b61dca28909bc548581bec75e3b90faaa7f11fd
7 changes: 5 additions & 2 deletions trunk/drivers/media/dvb/pluto2/pluto2.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ struct pluto {

/* irq */
unsigned int overflow;
unsigned int dead;

/* dma */
dma_addr_t dma_addr;
Expand Down Expand Up @@ -336,8 +337,10 @@ static irqreturn_t pluto_irq(int irq, void *dev_id)
return IRQ_NONE;

if (tscr == 0xffffffff) {
// FIXME: maybe recover somehow
dev_err(&pluto->pdev->dev, "card hung up :(\n");
if (pluto->dead == 0)
dev_err(&pluto->pdev->dev, "card has hung or been ejected.\n");
/* It's dead Jim */
pluto->dead = 1;
return IRQ_HANDLED;
}

Expand Down

0 comments on commit b5280ca

Please sign in to comment.