diff options
Diffstat (limited to 'drivers/macintosh')
-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; |