summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/designware_stm32.c2
-rw-r--r--drivers/net/designware_tegra186.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/designware_stm32.c b/drivers/net/designware_stm32.c
index 5b087ad..ed54ff2 100644
--- a/drivers/net/designware_stm32.c
+++ b/drivers/net/designware_stm32.c
@@ -199,6 +199,8 @@ static void eqos_stop_stm32(struct eth_device *edev)
{
struct eqos_stm32 *priv = to_stm32(edev->priv);
+ eqos_stop(edev);
+
clk_bulk_disable(priv->num_clks, priv->clks);
}
diff --git a/drivers/net/designware_tegra186.c b/drivers/net/designware_tegra186.c
index 58484d4..618ae11 100644
--- a/drivers/net/designware_tegra186.c
+++ b/drivers/net/designware_tegra186.c
@@ -282,6 +282,8 @@ static void eqos_stop_tegra186(struct eth_device *edev)
{
struct eqos_tegra186 *priv = to_tegra186(edev->priv);
+ eqos_stop(edev);
+
eqos_reset_tegra186(priv, true);
clk_bulk_disable(priv->num_clks, priv->clks);