aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/davinci_emac.c
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2016-08-01 15:02:42 +0800
committerDavid S. Miller <davem@davemloft.net>2016-08-01 21:43:49 -0700
commit4613b279bee7954f1378c6339618641fdc4a675f (patch)
tree869893e846d9ab85e10d0b512381553eff475718 /drivers/net/ethernet/ti/davinci_emac.c
parentethernet: stmicro: stmmac: dwmac-socfpga: add missing of_node_put after calling of_parse_phandle (diff)
downloadlinux-dev-4613b279bee7954f1378c6339618641fdc4a675f.tar.xz
linux-dev-4613b279bee7954f1378c6339618641fdc4a675f.zip
ethernet: stmicro: stmmac: add missing of_node_put after calling of_parse_phandle
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. This commit fixes both local (in stmmac_axi_setup) and global (plat->phy_node) device_node for this issue, and using the correct device node when tries to put node at stmmac_probe_config_dt for error path. Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/davinci_emac.c')
0 files changed, 0 insertions, 0 deletions