summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJoakim Zhang <qiangqing.zhang@nxp.com>2021-06-16 11:10:24 +0200
committerDavid S. Miller <davem@davemloft.net>2021-06-16 21:20:58 +0200
commit8f269102baf788aecfcbbc6313b6bceb54c9b990 (patch)
tree9f484fc8f3b01105d8a59e7da1935bfecb0f51fc /net
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff)
downloadlinux-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