Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9458
b: refs/heads/master
c: a44fe13
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Linus Torvalds committed Sep 29, 2005
1 parent a58ef5f commit e4bcd88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 7644143cd6f7e029f3a8ea64f5fb0ab33ec39f72
refs/heads/master: a44fe13eab664ac488ced0845d9885b019bd24c5
4 changes: 3 additions & 1 deletion trunk/drivers/macintosh/smu.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,10 @@ static irqreturn_t smu_db_intr(int irq, void *arg, struct pt_regs *regs)
spin_lock_irqsave(&smu->lock, flags);

gpio = pmac_do_feature_call(PMAC_FTR_READ_GPIO, NULL, smu->doorbell);
if ((gpio & 7) != 7)
if ((gpio & 7) != 7) {
spin_unlock_irqrestore(&smu->lock, flags);
return IRQ_HANDLED;
}

cmd = smu->cmd_cur;
smu->cmd_cur = NULL;
Expand Down

0 comments on commit e4bcd88

Please sign in to comment.