]> 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)
commit31d5336615a6b9c273d23655d9a32f44be7d474b
tree3ab2d8c73ab5ad28aace4921f3b18c9f23176ad5
parenta5c8f1abd85ef0d1a0dc019831f547be4ff5f59e
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: 286f3f2a5fb9 ("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