]> git.baikalelectronics.ru Git - kernel.git/commit
net: atlantic: loopback configuration in improper place
authorIgor Russkikh <irusskikh@marvell.com>
Mon, 6 Jan 2020 11:22:29 +0000 (14:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 22:06:11 +0000 (14:06 -0800)
commit47320853fd8bfa9dcee6334acc50cd8ece3398db
tree3ab2d8c73ab5ad28aace4921f3b18c9f23176ad5
parenta07f3dffc6738e1e94b810196e88a6b0a4ab9bbb
net: atlantic: loopback configuration in improper place

Initial loopback configuration should be called earlier, before
starting traffic on HW blocks. Otherwise depending on race conditions
it could be kept disabled.

Fixes: cc55e6aa2f74 ("net: atlantic: loopback tests via private flags")
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_nic.c