Joakim Zhang
190ecdf53d
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>
2021-06-23 14:41:31 +02:00
..
2021-06-10 13:37:04 +02:00
2021-03-04 10:26:32 +01:00
2020-12-30 11:51:35 +01:00
2021-05-14 09:44:24 +02:00
2021-03-30 14:35:21 +02:00
2021-03-04 10:26:30 +01:00
2021-05-19 10:08:20 +02:00
2021-05-19 10:08:30 +02:00
2021-03-07 12:20:44 +01:00
2021-06-10 13:37:08 +02:00
2021-05-26 12:05:19 +02:00
2021-06-03 08:59:09 +02:00
2021-05-19 10:08:33 +02:00
2021-03-04 10:26:29 +01:00
2021-04-14 08:24:09 +02:00
2021-05-14 09:44:21 +02:00
2021-05-14 09:44:20 +02:00
2020-12-30 11:51:46 +01:00
2021-05-14 09:44:20 +02:00
2021-06-23 14:41:29 +02:00
2021-01-12 20:16:23 +01:00
2020-12-30 11:51:36 +01:00
2021-05-11 14:04:09 +02:00
2021-04-07 14:47:43 +02:00
2021-06-10 13:37:03 +02:00
2021-06-03 08:59:08 +02:00
2021-06-23 14:41:30 +02:00
2021-06-18 09:58:58 +02:00
2021-05-14 09:44:25 +02:00
2021-05-14 09:44:22 +02:00
2021-06-23 14:41:27 +02:00
2021-05-11 14:04:15 +02:00
2021-06-16 11:59:38 +02:00
2021-05-14 09:44:15 +02:00
2021-01-12 20:16:09 +01:00
2021-06-03 08:59:04 +02:00
2021-06-16 11:59:44 +02:00
2021-05-22 11:38:28 +02:00
2021-04-16 11:46:37 +02:00
2021-06-03 08:59:00 +02:00
2021-05-14 09:44:20 +02:00
2021-06-16 11:59:34 +02:00
2021-05-26 12:05:20 +02:00
2021-01-27 11:47:53 +01:00
2021-06-16 11:59:37 +02:00
2021-06-03 08:59:11 +02:00
2021-05-14 09:44:19 +02:00
2020-12-30 11:51:18 +01:00
2020-11-05 11:43:25 +01:00
2021-05-14 09:44:25 +02:00
2021-06-03 08:59:08 +02:00
2021-05-26 12:05:18 +02:00
2021-05-14 09:44:20 +02:00
2021-06-23 14:41:31 +02:00
2021-05-14 09:44:27 +02:00
2021-04-21 12:56:16 +02:00
2021-06-18 09:58:59 +02:00
2021-03-04 10:26:37 +01:00
2021-05-14 09:44:33 +02:00
2020-11-18 19:20:21 +01:00
2021-06-23 14:41:29 +02:00
2021-05-11 14:04:06 +02:00
2021-05-14 09:44:19 +02:00
2021-05-22 11:38:27 +02:00
2021-06-03 08:59:12 +02:00
2021-05-11 14:04:11 +02:00
2020-11-10 21:13:20 +01:00
2020-12-30 11:51:26 +01:00
2021-06-23 14:41:26 +02:00
2021-03-04 10:26:36 +01:00
2021-05-26 12:05:17 +02:00
2021-04-14 08:24:18 +02:00
2021-06-16 11:59:43 +02:00
2020-12-30 11:51:24 +01:00
2021-05-19 10:08:25 +02:00
2021-05-19 10:08:26 +02:00
2021-06-16 11:59:33 +02:00
2021-06-18 09:58:59 +02:00
2020-12-30 11:51:13 +01:00
2021-05-14 09:44:23 +02:00
2021-05-14 09:44:19 +02:00
2021-06-23 14:41:27 +02:00
2021-03-04 10:26:49 +01:00
2021-06-23 14:41:27 +02:00
2021-06-18 09:58:59 +02:00
2021-05-11 14:04:06 +02:00
2021-06-03 08:59:05 +02:00
2021-06-03 08:59:03 +02:00
2021-06-03 08:59:08 +02:00
2021-05-26 12:05:17 +02:00
2021-06-23 14:41:28 +02:00
2021-06-10 13:37:03 +02:00
2021-04-07 14:47:39 +02:00
2021-05-26 12:05:21 +02:00
2021-03-04 10:26:10 +01:00
2020-12-30 11:51:29 +01:00
2020-11-05 11:43:25 +01:00
2021-03-04 10:26:47 +01:00
2021-06-10 13:37:16 +02:00