diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-12 00:43:32 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-12 00:43:32 -0400 |
commit | b6ec995a21a9428aef620b5adf46d047a18d88b8 (patch) | |
tree | 6719121e6605cbca524b687f47336b9bbf3b8d41 /drivers/macintosh/smu.c | |
parent | 3a5f8c5f788d68e325d9fe3c26f4df5a5aee838a (diff) | |
parent | da64c6ee6bb71bfb3f09d9bb89ce1aa4b1ee7e89 (diff) |
Merge from Linus' tree
Diffstat (limited to 'drivers/macintosh/smu.c')
-rw-r--r-- | drivers/macintosh/smu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 5f283529620b..34f3c7e2d832 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -153,8 +153,10 @@ static irqreturn_t smu_db_intr(int irq, void *arg, struct pt_regs *regs) | |||
153 | spin_lock_irqsave(&smu->lock, flags); | 153 | spin_lock_irqsave(&smu->lock, flags); |
154 | 154 | ||
155 | gpio = pmac_do_feature_call(PMAC_FTR_READ_GPIO, NULL, smu->doorbell); | 155 | gpio = pmac_do_feature_call(PMAC_FTR_READ_GPIO, NULL, smu->doorbell); |
156 | if ((gpio & 7) != 7) | 156 | if ((gpio & 7) != 7) { |
157 | spin_unlock_irqrestore(&smu->lock, flags); | ||
157 | return IRQ_HANDLED; | 158 | return IRQ_HANDLED; |
159 | } | ||
158 | 160 | ||
159 | cmd = smu->cmd_cur; | 161 | cmd = smu->cmd_cur; |
160 | smu->cmd_cur = NULL; | 162 | smu->cmd_cur = NULL; |