linux/drivers/net/ethernet/freescale/fs_enet
Uwe Kleine-König 129cc83a0b net: fs_enet: fix reference counting for phy_node
Make sure that fs_enet_probe is left with a reference to the phy node.
In the presence of a phy handle this is already the case as
of_parse_phandle returns a reference. In the fixed phy case a call to
of_node_get is necessary. Otherwise the error path and remove function
drop a reference the driver isn't holding.

Fixes: bb74d9a4a8 ("fs_enet: use the new fixed PHY helpers")
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:59 -07:00
..
fec.h fs_enet: Add MPC5125 FEC support and PHY interface selection 2012-03-19 18:02:05 -04:00
fs_enet-main.c net: fs_enet: fix reference counting for phy_node 2014-08-07 16:02:59 -07:00
fs_enet.h
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
mac-fcc.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
mac-fec.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
mac-scc.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
Makefile
mii-bitbang.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
mii-fec.c fs_enet: remove empty MDIO bus function 2014-03-28 01:38:02 -04:00