net: stmmac: dwmac4/5: Do not disable whole RX in dma_stop_rx()
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 24 May 2019 08:20:23 +0000 (10:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2019 20:45:56 +0000 (13:45 -0700)
commita8b91b30d11dbcbab074a39a6dccabe19aa70715
treed142d12b7e4aff36e0beec87e4c708903c391a43
parentf9c5f7d783852eff099ee0a940652899ad028385
net: stmmac: dwmac4/5: Do not disable whole RX in dma_stop_rx()

We don't need to disable the whole RX when dma_stop_rx() is called
because there may be the need of just disabling 1 DMA channel.

This is also needed for stmmac Flow Control selftest.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c