Incidentally, I think the "if (irq > 0)" test there should probably be "if
(devc->irq > 0)". Otherwise the driver still tries to free the irq if it
failed to claim it.
> if (!share_dma)
> {
> if (irq > 0)
>- free_irq(devc->irq, NULL);
>+ free_irq(devc->irq, (void *)devc->dev_no);
p.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/