[PATCH] net: cpsw: don't reset twice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The softreset was already called previously in open and other settings
have been prepared afterwards, so don't reset it a second time.

Signed-off-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
---
 drivers/net/cpsw.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c
index b9a6575009..4eb2205daa 100644
--- a/drivers/net/cpsw.c
+++ b/drivers/net/cpsw.c
@@ -676,8 +676,6 @@ static void cpsw_slave_init(struct cpsw_slave *slave, struct cpsw_priv *priv)
 
 	dev_dbg(&slave->dev, "* %s\n", __func__);
 
-	soft_reset(priv, &slave->sliver->soft_reset);
-
 	/* setup priority mapping */
 	writel(0x76543210, &slave->sliver->rx_pri_map);
 	writel(0x33221100, &slave->regs->tx_pri_map);
-- 
2.24.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux