John Crispin bf89d139e1 ramips: improve rt2880 spi wait ready function
use loops_per_jiffy, spi clock speed and write bytes to get the
spi loop count. if loop to 0 than spi operation timeout.
remove usleep. we only write 1 byte to spi device. use busy loop
would be better.

Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47575
2015-11-22 11:48:34 +00:00
..
2015-11-21 21:24:38 +00:00
2015-11-02 10:18:19 +00:00
2015-10-19 10:07:54 +00:00
2015-07-24 09:11:56 +00:00
2015-10-19 10:07:54 +00:00