linux/drivers/net/ethernet/marvell
Uwe Kleine-König c891c24c62 net: mvneta: Fix reference counting for phy_node
If there is a "phy" handle the probe function returns with holding a
reference to that node. Make sure that in the fixed phy case there is
also held a reference to yield a consistant state.

Also add the corresponding of_node_put in the error path and the remove
function.

Fixes: 83895bedee ("net: mvneta: add support for fixed links")
Fixes: c5aff18204 ("net: mvneta: driver for Marvell Armada 370/XP network unit")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-08-07 16:02:58 -07:00
..
Kconfig ethernet: Add new driver for Marvell Armada 375 network unit 2014-07-10 17:18:24 -07:00
Makefile ethernet: Add new driver for Marvell Armada 375 network unit 2014-07-10 17:18:24 -07:00
mv643xx_eth.c net: mv643xx_eth: Avoid unmapping the TSO header buffers 2014-06-02 16:16:06 -07:00
mvmdio.c net: mvmdio: Use devm_* API to simplify the code 2014-05-23 15:31:49 -04:00
mvneta.c net: mvneta: Fix reference counting for phy_node 2014-08-07 16:02:58 -07:00
mvpp2.c net: mvpp2: implement ioctl() operation for PHY ioctls 2014-07-29 16:47:43 -07:00
pxa168_eth.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
skge.c skge: Added FS A8NE-FM to the list of 32bit DMA boards 2014-06-18 16:44:42 -07:00
skge.h
sky2.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
sky2.h sky2: Receive Overflows not counted 2013-03-29 14:53:19 -04:00