summaryrefslogtreecommitdiff
path: root/tools/include/uapi/linux/in.h
diff options
context:
space:
mode:
authorJoakim Zhang <qiangqing.zhang@nxp.com>2021-06-16 17:10:24 +0800
committerDenys Drozdov <denys.drozdov@toradex.com>2021-07-15 13:54:48 +0300
commit87d5010f629669c6137336009b0517db52fcaca2 (patch)
tree77fdbb2684350e0265ae00a1cf0f3edf8b9c9154 /tools/include/uapi/linux/in.h
parentba568706b882dd00241a0c81c30a0751e3733424 (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/uapi/linux/in.h')
0 files changed, 0 insertions, 0 deletions