dwmac4_prog_mtl_tx_algorithms() missing write operation
Subsystems (4)
PATCH 1/1 dwmac4_prog_mtl_tx_algorithms() missing write operation
net: ethernet: stmmac: dwmac4_prog_mtl_tx_algorithms() missing write operation
The value of MTL_OPERATION_MODE is not written back
Signed-off-by Cheng Han <[email protected]>
--- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c +2 -0
@@ -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,
Signature · 1 line
1.9.1
David Miller
maintainerFrom: Cheng Han <[email protected]>
Date: Thu, 9 May 2019 11:13:41 +0800
Quoted 5 lines
net: ethernet: stmmac:
dwmac4_prog_mtl_tx_algorithms()missing write operationThe value of
MTL_OPERATION_MODEis not written backSigned-off-by Cheng Han <[email protected]>
Good catch, applied, thanks.