diff options
author | Joakim Zhang <qiangqing.zhang@nxp.com> | 2021-06-16 11:10:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-16 21:20:58 +0200 |
commit | 8f269102baf788aecfcbbc6313b6bceb54c9b990 (patch) | |
tree | 9f484fc8f3b01105d8a59e7da1935bfecb0f51fc /net | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff) | |
download | linux-8f269102baf788aecfcbbc6313b6bceb54c9b990.tar.xz linux-8f269102baf788aecfcbbc6313b6bceb54c9b990.zip |
net: stmmac: disable clocks in stmmac_remove_config_dt()
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions