mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
net: stmmac: xgmac: Fix missing return
If FPE is supposed to be disabled we need to return after disabling it.
Fixes: f0e56c8d8f
("net: stmmac: xgmac3+: Add support for Frame Preemption")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7112f8b075
commit
8eea7c7f3f
@ -1421,6 +1421,7 @@ static void dwxgmac3_fpe_configure(void __iomem *ioaddr, u32 num_txq,
|
||||
value &= ~XGMAC_EFPE;
|
||||
|
||||
writel(value, ioaddr + XGMAC_FPE_CTRL_STS);
|
||||
return;
|
||||
}
|
||||
|
||||
value = readl(ioaddr + XGMAC_RXQ_CTRL1);
|
||||
|
Loading…
Reference in New Issue
Block a user