Commit 3013ea1d authored by Linus Torvalds's avatar Linus Torvalds

Workaround for aic7xxx setup inconsistencies.

parent 0fa821d8
...@@ -1768,6 +1768,10 @@ ahc_linux_isr(int irq, void *dev_id, struct pt_regs * regs) ...@@ -1768,6 +1768,10 @@ ahc_linux_isr(int irq, void *dev_id, struct pt_regs * regs)
u_long flags; u_long flags;
ahc = (struct ahc_softc *) dev_id; ahc = (struct ahc_softc *) dev_id;
if (!ahc->platform_data->host) {
printk("aic7xxx: interrupt while setup incomplete\n");
return;
}
ahc_lock(ahc, &flags); ahc_lock(ahc, &flags);
ahc_intr(ahc); ahc_intr(ahc);
/* /*
......
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