commit | 49530e6411789c1b9ea3ebc58e520c19d1c3752f | [log] [tgz] |
---|---|---|
author | sxauwsk <sxauwsk@163.com> | Tue Apr 17 04:01:27 2018 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Apr 18 11:28:29 2018 +0100 |
tree | e9a684422ec5ae49ad5a6fe20e71a11bf68c0888 | |
parent | 10b4640833e95eeacaef8060bc1b35e636df3218 [diff] |
spi: cadence: Add usleep_range() for cdns_spi_fill_tx_fifo() In case of xspi work in busy condition, may send bytes failed. once something wrong, spi controller did't work any more My test found this situation appear in both of read/write process. so when TX FIFO is full, add one byte delay before send data; Signed-off-by: sxauwsk <sxauwsk@163.com> Signed-off-by: Mark Brown <broonie@kernel.org>