net: mvmdio: orion_mdio_ready: remove manual poll
authorLeigh Brown <leigh@solinno.co.uk>
Tue, 29 Oct 2013 09:33:32 +0000 (09:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Oct 2013 22:53:36 +0000 (18:53 -0400)
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>

No differences found