Re: [PATCH] [PATCH v1] spi: cadence: Add usleep_range() for cdns_spi_fill_tx_fifo()

2018-04-16 Thread Mark Brown
On Mon, Apr 16, 2018 at 02:46:40PM +0800, sxauwsk wrote: > 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

Re: [PATCH] [PATCH v1] spi: cadence: Add usleep_range() for cdns_spi_fill_tx_fifo()

2018-04-16 Thread Mark Brown
On Mon, Apr 16, 2018 at 02:46:40PM +0800, sxauwsk wrote: > 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

[PATCH] [PATCH v1] spi: cadence: Add usleep_range() for cdns_spi_fill_tx_fifo()

2018-04-16 Thread sxauwsk
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

[PATCH] [PATCH v1] spi: cadence: Add usleep_range() for cdns_spi_fill_tx_fifo()

2018-04-16 Thread sxauwsk
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 Signed-off-by: guojian