net: phy: aquantia: wait for phy init sequence to finish
authorFlorin Chiculita <florinlaurentiu.chiculita@nxp.com>
Mon, 14 Oct 2019 14:27:07 +0000 (17:27 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 9 Dec 2019 15:47:42 +0000 (09:47 -0600)
commitbf58916373f0a94aaf0aca5ee67bb18d5928fa0e
tree7482710b59e5a0a8b4bcb578d402c4f4fce79ab3
parent7c56408be61ec5597c944bb67c034e7bf01922d5
net: phy: aquantia: wait for phy init sequence to finish

Aquantia quad-phys may take longer to initialize. This commit adds
a polling mechanism for a global alarm bit that tells if phy init
sequence is completed.

Signed-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/aquantia.c