linux_dsm_epyc7002/drivers/net/ethernet/allwinner
Maxime Ripard e9c56f8d2f net: allwinner: emac: Add missing free_irq
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@free-electrons.com>
Cc: stable@vger.kernel.org # 3.11+
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-10 18:01:10 -05:00
..
Kconfig drivers: net: sun4i-emac: select MDIO_SUN4I 2013-07-26 13:57:58 -07:00
Makefile
sun4i-emac.c net: allwinner: emac: Add missing free_irq 2013-12-10 18:01:10 -05:00
sun4i-emac.h