diff options
author | 2014-08-07 23:06:00 +0200 | |
---|---|---|
committer | 2014-08-07 16:02:59 -0700 | |
commit | 129cc83a0b7ed9429d896e4f215d1f6a8c58ba40 (patch) | |
tree | 6ab2652fb4375470a20f2c4fff8691b0fdd7ccf8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: bcmgenet: fix reference counting for phy node (diff) | |
download | linux-dev-129cc83a0b7ed9429d896e4f215d1f6a8c58ba40.tar.xz linux-dev-129cc83a0b7ed9429d896e4f215d1f6a8c58ba40.zip |
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: bb74d9a4a87b ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions