diff options
| author | Uwe Kleine-König <[email protected]> | 2014-08-07 21:58:46 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-08-07 16:02:58 -0700 |
| commit | c891c24c62b376e508a45eeeb9f37e1b94173126 (patch) | |
| tree | 80e60ad7b5136a529507c97198afcd8c6ac78208 /tools/perf/scripts/python | |
| parent | 888c88b857cd974e65e6cacb0aece0dfdf9f27d1 (diff) | |
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: 83895bedeee6 ("net: mvneta: add support for fixed links")
Fixes: c5aff18204da ("net: mvneta: driver for Marvell Armada 370/XP network unit")
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions