commit | 839f46bb4cf73d20d76195d4f2de34801180ae7c | [log] [tgz] |
---|---|---|
author | Leigh Brown <leigh@solinno.co.uk> | Tue Oct 29 09:33:32 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 29 18:53:36 2013 -0400 |
tree | 96a9dc3d8c0a24a6097cb934e7f1a6594e961f8a | |
parent | b70cd1c1a95ab2a50ffc5e1070c9e90931b92261 [diff] |
net: mvmdio: orion_mdio_ready: remove manual poll Replace manual poll of MVMDIO_SMI_READ_VALID with a call to orion_mdio_wait_ready. This ensures a consistent timeout, eliminates a busy loop, and allows for use of interrupts on systems that support them. Signed-off-by: Leigh Brown <leigh@solinno.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>