disable_irq() should synchronize with irq handler only if one exists.
Noted by Al Viro: if no handler exists (and we have IRQ_INPROGRESS set because of an earlier irq that got through), synchronize_irq() will end up waiting forever.
Showing
Please register or sign in to comment