commit | a762cc03c0c35d1a7bcb3d414885bcabd1d3fef0 | [log] [tgz] |
---|---|---|
author | Jose Abreu <Jose.Abreu@synopsys.com> | Wed Dec 18 11:17:39 2019 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 12 12:21:40 2020 +0100 |
tree | a4511e47a2b2a2e9fe9e70054b2d8afc22d52741 | |
parent | f05252d5399536545a88f39e1b283a94b561fbb5 [diff] |
net: stmmac: xgmac: Clear previous RX buffer size [ Upstream commit 11d55fd9975f8e46a0e5e19c14899544e81e1e15 ] When switching between buffer sizes we need to clear the previous value. Fixes: d6ddfacd95c7 ("net: stmmac: Add DMA related callbacks for XGMAC2") Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>