Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325239
b: refs/heads/master
c: 88ff848
h: refs/heads/master
i:
  325237: d21cb85
  325235: fbf985a
  325231: 0828def
v: v3
  • Loading branch information
Jens Taprogge authored and Greg Kroah-Hartman committed Sep 12, 2012
1 parent a43b7ee commit 281df4b
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 487e0a608d8d7483be5b5fe3fe9414636c087588
refs/heads/master: 88ff8480d39da6b2961444f0c28b5b0d194d2de6
9 changes: 5 additions & 4 deletions trunk/drivers/staging/ipack/bridges/tpci200.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ static irqreturn_t tpci200_interrupt(int irq, void *dev_id)
struct tpci200_board *tpci200 = (struct tpci200_board *) dev_id;
int i;
unsigned short status_reg;
irqreturn_t ret = IRQ_NONE;
struct slot_irq *slot_irq;

/* Read status register */
Expand All @@ -130,7 +129,7 @@ static irqreturn_t tpci200_interrupt(int irq, void *dev_id)
continue;
slot_irq = rcu_dereference(tpci200->slots[i].irq);
if (slot_irq) {
ret = tpci200_slot_irq(slot_irq);
tpci200_slot_irq(slot_irq);
} else {
dev_info(&tpci200->info->pdev->dev,
"No registered ISR for slot [%d:%d]!. IRQ will be disabled.\n",
Expand All @@ -141,9 +140,11 @@ static irqreturn_t tpci200_interrupt(int irq, void *dev_id)
}
}
rcu_read_unlock();
}

return ret;
return IRQ_HANDLED;
} else {
return IRQ_NONE;
}
}

static int tpci200_register(struct tpci200_board *tpci200)
Expand Down

0 comments on commit 281df4b

Please sign in to comment.