aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-11-22 11:48:34 +0000
committerJohn Crispin <john@openwrt.org>2015-11-22 11:48:34 +0000
commitbf89d139e1cf6029eeab39bd06f8ad2f5bc1c739 (patch)
tree076a75fba9ab05b1830cb23765f6b3c2b6f36542 /target/linux/imx6
parent702c480dfe557087a1d4c534036fee4d59677f38 (diff)
downloadupstream-bf89d139e1cf6029eeab39bd06f8ad2f5bc1c739.tar.gz
upstream-bf89d139e1cf6029eeab39bd06f8ad2f5bc1c739.tar.bz2
upstream-bf89d139e1cf6029eeab39bd06f8ad2f5bc1c739.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> SVN-Revision: 47575
Diffstat (limited to 'target/linux/imx6')
0 files changed, 0 insertions, 0 deletions