diff mbox series

dwmac4_prog_mtl_tx_algorithms() missing write operation

Message ID 20190508013657.14766-1-hancheng2009@gmail.com
State Changes Requested
Delegated to: David Miller
Headers show
Series dwmac4_prog_mtl_tx_algorithms() missing write operation | expand

Commit Message

Cheng Han May 8, 2019, 1:36 a.m. UTC
Signed-off-by: Cheng Han <hancheng2009@gmail.com>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Jose Abreu May 8, 2019, 9:20 a.m. UTC | #1
From: Cheng Han <hancheng2009@gmail.com>
Date: Wed, May 08, 2019 at 02:36:57

> Signed-off-by: Cheng Han <hancheng2009@gmail.com>

Please specify that this is for -net tree, write a commit log and add the 
"Fixes" tag.

Thanks,
Jose Miguel Abreu
diff mbox series

Patch

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c b/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
index 7e5d5db..b4bb562 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
@@ -192,6 +192,8 @@  static void dwmac4_prog_mtl_tx_algorithms(struct mac_device_info *hw,
 	default:
 		break;
 	}
+
+	writel(value, ioaddr + MTL_OPERATION_MODE);
 }
 
 static void dwmac4_set_mtl_tx_queue_weight(struct mac_device_info *hw,