[PATCH v2] net: allwinner: emac: Add missing free_irq

David Miller davem at davemloft.net
Tue Dec 10 18:01:38 EST 2013


From: Maxime Ripard <maxime.ripard at free-electrons.com>
Date: Tue, 10 Dec 2013 19:40:43 +0100

> The sun4i-emac driver uses devm_request_irq at .ndo_open time, but relies on
> the managed device mechanism to actually free it. This causes an issue whenever
> someone wants to restart the interface, the interrupt still being held, and not
> yet released.
> 
> Fall back to using the regular request_irq at .ndo_open time, and introduce a
> free_irq during .ndo_stop.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Applied, thanks.



More information about the linux-arm-kernel mailing list