linux/drivers/net/ethernet/ti
Christian Riesch 33b7107f59 net: davinci_emac: Replace devm_request_irq with request_irq
In commit 6892b41d97

Author: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Date:   Tue Jun 25 21:24:51 2013 +0530
net: davinci: emac: Convert to devm_* api

the call of request_irq is replaced by devm_request_irq and the call
of free_irq is removed. But since interrupts are requested in
emac_dev_open, doing ifconfig up/down on the board requests the
interrupts again each time, causing devm_request_irq to fail. The
interface is dead until the device is rebooted.

This patch reverts said commit partially: It changes the driver back
to use request_irq instead of devm_request_irq, puts free_irq back in
place, but keeps the remaining changes of the original patch.

Reported-by: Jon Ringle <jon@ringle.org>
Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Cc: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-24 15:32:03 -04:00
..
cpmac.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
cpsw_ale.c drivers: net: cpsw: enable promiscuous mode support 2014-01-23 13:12:14 -08:00
cpsw_ale.h drivers: net: cpsw: enable promiscuous mode support 2014-01-23 13:12:14 -08:00
cpsw-phy-sel.c net: ethernet: cpsw-phy-sel: Remove redundant of_match_ptr 2013-10-01 12:30:25 -04:00
cpsw.c net: cpsw: do not register cpts twice 2014-03-17 22:17:32 -04:00
cpsw.h drivers: net: cpsw-phy-sel: Add new driver for phy mode selection for cpsw 2013-09-24 10:33:07 -04:00
cpts.c treewide: Fix typos in printk 2013-03-20 16:26:32 +01:00
cpts.h ti: Remove extern from function prototypes 2013-09-24 12:54:10 -07:00
davinci_cpdma.c net: eth: davinci_cpdma: Mark a local variable static 2013-12-11 19:53:55 -05:00
davinci_cpdma.h net/davinci_cpdma: remove unused argument in cpdma_chan_submit() 2013-04-25 04:11:50 -04:00
davinci_emac.c net: davinci_emac: Replace devm_request_irq with request_irq 2014-03-24 15:32:03 -04:00
davinci_mdio.c net: davinci_mdio: Fix sparse warning 2014-01-16 17:29:53 -08:00
Kconfig drivers: net: cpsw-phy-sel: Add new driver for phy mode selection for cpsw 2013-09-24 10:33:07 -04:00
Makefile drivers: net: cpsw-phy-sel: Add new driver for phy mode selection for cpsw 2013-09-24 10:33:07 -04:00
tlan.c net: tlan: remove unnecessary pci_set_drvdata() 2013-10-23 16:58:41 -04:00
tlan.h ThunderLAN: remove is_eisa flag 2013-05-20 00:20:14 -07:00