Commit 17959b7f authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Jeff Garzik

[PATCH] ide: fix IRQ handler returns

Make the IDE driver return the proper status return
for unhandled interrupts.
parent 3c642694
......@@ -1264,7 +1264,7 @@ irqreturn_t ide_intr (int irq, void *dev_id, struct pt_regs *regs)
#endif /* CONFIG_BLK_DEV_IDEPCI */
}
spin_unlock_irqrestore(&ide_lock, flags);
return IRQ_HANDLED;
return IRQ_NONE;
}
drive = hwgroup->drive;
if (!drive) {
......@@ -1286,7 +1286,7 @@ irqreturn_t ide_intr (int irq, void *dev_id, struct pt_regs *regs)
* enough advance overhead that the latter isn't a problem.
*/
spin_unlock_irqrestore(&ide_lock, flags);
return IRQ_HANDLED;
return IRQ_NONE;
}
if (!hwgroup->busy) {
hwgroup->busy = 1; /* paranoia */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment