commit | c41a47678d067efe8c87e8f1cfdcb0147e58ee62 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Nov 28 19:25:07 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 29 23:17:02 2016 -0500 |
tree | eba5249cf400884394cd84e445eb3974271c2134 | |
parent | 9f70eb339f5246ce7be6bb41a4602ce87ebbfc4b [diff] |
net: ethernet: dwc_eth_qos: fix fixed-link phydev leaks Make sure to deregister and free any fixed-link PHY registered using of_phy_register_fixed_link() on probe errors and on driver unbind. Fixes: 077742dac2c7 ("dwc_eth_qos: Add support for Synopsys DWC Ethernet QoS") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>