diff options
author | David S. Miller <davem@davemloft.net> | 2016-12-02 10:42:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-02 10:43:23 -0500 |
commit | d262fd12cd03afca40ced117d837fa576a667eab (patch) | |
tree | 38bf52c2e8c80c7ff2b09ebf6943734a9d01336e /drivers/net/ethernet/altera | |
parent | 6919756caaeaa76dc56287252fb656e3c2d9b4e1 (diff) | |
parent | d2ed0a7755fe14c790f398ae55088d00492ef168 (diff) | |
download | linux-d262fd12cd03afca40ced117d837fa576a667eab.tar.bz2 |
Merge branch 'stmmac-probe-error-handling-and-phydev-leaks'
Johan Hovold says:
====================
net: stmmac: fix probe error handling and phydev leaks
This series fixes a number of issues with the stmmac-driver probe error
handling, which for example left clocks enabled after probe failures.
The final patch fixes a failure to deregister and free any fixed-link
PHYs that were registered during probe on probe errors and on driver
unbind. It also fixes a related of-node leak on late probe errors.
This series depends on the of_phy_deregister_fixed_link() helper that
was just merged to net.
As mentioned earlier, one staging driver also suffers from a similar
leak and can be fixed up once the above mentioned helper hits mainline.
Note that these patches have only been compile tested.
====================
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/altera')
0 files changed, 0 insertions, 0 deletions