diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-17 17:40:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-18 13:48:53 -0500 |
commit | 8cbcc466fd4abd38a14b9d9b76c63a2cb7006554 (patch) | |
tree | 68075bfa1f37f62b88fe4482c043889c21d38535 /Documentation | |
parent | a4e32b0d0a26ba2f2ba1c65bd403d06ccc1df29c (diff) |
net: ethernet: ti: cpsw: fix of_node and phydev leaks
Make sure to drop references taken and deregister devices registered
during probe on probe errors (including deferred probe) and driver
unbind.
Specifically, PHY of-node references were never released and fixed-link
PHY devices were never deregistered.
Fixes: 9e42f715264f ("drivers: net: cpsw: add phy-handle parsing")
Fixes: 1f71e8c96fc6 ("drivers: net: cpsw: Add support for fixed-link
PHY")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions