p54spi: get rid of busy-wait loops
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 5 Apr 2009 21:03:09 +0000 (01:03 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:41 +0000 (16:54 -0400)
commit87cbfd06889256cac945b37c7f62f4ce7f44b34a
tree28d07f98916908d2c436dc144b31d2fe267c72cb
parent6a362bb1c9f900f7e6daeee52ff2d538badae49b
p54spi: get rid of busy-wait loops

p54spi_wakeup and p54spi_tx_frame used busy-waiting loop
to poll for 'ready' bits in SPI_ADRS_HOST_INTERRUPTS register.
With this change in place 'WR_READY timeout' messages do not
show anymore.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54spi.c