diff options
author | sxauwsk <sxauwsk@163.com> | 2018-04-16 23:01:27 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-04-18 13:28:29 +0300 |
commit | 49530e6411789c1b9ea3ebc58e520c19d1c3752f (patch) | |
tree | e9a684422ec5ae49ad5a6fe20e71a11bf68c0888 /drivers/scsi/scsi_ioctl.c | |
parent | 10b4640833e95eeacaef8060bc1b35e636df3218 (diff) | |
download | linux-49530e6411789c1b9ea3ebc58e520c19d1c3752f.tar.xz |
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>
Diffstat (limited to 'drivers/scsi/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions