net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 9 Jul 2021 01:55:32 +0000 (18:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jul 2021 02:35:59 +0000 (19:35 -0700)
commit2b452550a203d88112eaf0ba9fc4b750a000b496
tree423c8aab16180be02a5d60822ee3356d2748155b
parent5702b81ea47b3ca3db2e5fa4a382e72fd8eef693
net: bcmgenet: Ensure all TX/RX queues DMAs are disabled

Make sure that we disable each of the TX and RX queues in the TDMA and
RDMA control registers. This is a correctness change to be symmetrical
with the code that enables the TX and RX queues.

Tested-by: Maxime Ripard <maxime@cerno.tech>
Fixes: 1c1008c793fa ("net: bcmgenet: add main driver file")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c