mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-02-17 08:00:31 +00:00
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