]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Merge branch 'stmmac-probe-error-handling-and-phydev-leaks'
authorDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 15:42:47 +0000 (10:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 15:43:23 +0000 (10:43 -0500)
commitd262fd12cd03afca40ced117d837fa576a667eab
tree38bf52c2e8c80c7ff2b09ebf6943734a9d01336e
parent6919756caaeaa76dc56287252fb656e3c2d9b4e1
parentd2ed0a7755fe14c790f398ae55088d00492ef168
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>