aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-11-22 11:48:34 +0000
committerJohn Crispin <blogic@openwrt.org>2015-11-22 11:48:34 +0000
commitef03232ea53330d3312517e9a667674e55bc2a56 (patch)
treef896f6e276099d859df02d4acd33868e1bf314ff /target/linux/at91
parentf750d1674b8ad4ea5d7f700a800c6ed31e4def7e (diff)
downloadmaster-187ad058-ef03232ea53330d3312517e9a667674e55bc2a56.tar.gz
master-187ad058-ef03232ea53330d3312517e9a667674e55bc2a56.tar.bz2
master-187ad058-ef03232ea53330d3312517e9a667674e55bc2a56.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47575 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/at91')
0 files changed, 0 insertions, 0 deletions