diff options
author | Joakim Zhang <qiangqing.zhang@nxp.com> | 2021-06-16 17:10:24 +0800 |
---|---|---|
committer | Denys Drozdov <denys.drozdov@toradex.com> | 2021-07-15 13:54:48 +0300 |
commit | 87d5010f629669c6137336009b0517db52fcaca2 (patch) | |
tree | 77fdbb2684350e0265ae00a1cf0f3edf8b9c9154 /tools/include | |
parent | ba568706b882dd00241a0c81c30a0751e3733424 (diff) |
net: stmmac: disable clocks in stmmac_remove_config_dt()
commit 8f269102baf788aecfcbbc6313b6bceb54c9b990 upstream.
Platform drivers may call stmmac_probe_config_dt() to parse dt, could
call stmmac_remove_config_dt() in error handing after dt parsed, so need
disable clocks in stmmac_remove_config_dt().
Go through all platforms drivers which use stmmac_probe_config_dt(),
none of them disable clocks manually, so it's safe to disable them in
stmmac_remove_config_dt().
Fixes: commit d2ed0a7755fe ("net: ethernet: stmmac: fix of-node and fixed-link-phydev leaks")
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions