stmmac: fix DMA channel hang in half-duplex mode
authorBhadram Varka <vbhadram@nvidia.com>
Sun, 17 Jun 2018 14:32:05 +0000 (20:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Jul 2018 12:28:47 +0000 (14:28 +0200)
commit32761addd300814d4d8e76a9db1587b1b74e1cf8
tree5cd815e3cd9d8cdac7078cee428cb7a30a4028e3
parent5e90946baa576df0c28b74cbde16db236f2afd79
stmmac: fix DMA channel hang in half-duplex mode

[ Upstream commit b6cfffa7ad923c73f317ea50fd4ebcb3b4b6669c ]

HW does not support Half-duplex mode in multi-queue
scenario. Fix it by not advertising the Half-Duplex
mode if multi-queue enabled.

Signed-off-by: Bhadram Varka <vbhadram@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c