diff options
author | Daniel Mack <daniel@zonque.org> | 2020-10-09 13:03:09 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-09 18:00:47 +0300 |
commit | 855a40cd8cccfbf5597adfa77f55cdc8c44b6e42 (patch) | |
tree | 97e2be387f45bfe5b0657f6d323521392d04c04f /drivers/spi/spi-cadence.c | |
parent | ca4e2ac20f938c372b83d1cb16ec00f7c89191df (diff) | |
download | linux-855a40cd8cccfbf5597adfa77f55cdc8c44b6e42.tar.xz |
spi: cadence: Add SPI transfer delays
When processing an SPI transfer, honor the delay that might be passed
along with it.
Signed-off-by: Daniel Mack <daniel@zonque.org>
Link: https://lore.kernel.org/r/20201009100309.381279-1-daniel@zonque.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-cadence.c')
-rw-r--r-- | drivers/spi/spi-cadence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c index 2b6b9c1ad9d0..70467b9d61ba 100644 --- a/drivers/spi/spi-cadence.c +++ b/drivers/spi/spi-cadence.c @@ -418,8 +418,8 @@ static int cdns_transfer_one(struct spi_master *master, xspi->rx_bytes = transfer->len; cdns_spi_setup_transfer(spi, transfer); - cdns_spi_fill_tx_fifo(xspi); + spi_transfer_delay_exec(transfer); cdns_spi_write(xspi, CDNS_SPI_IER, CDNS_SPI_IXR_DEFAULT); return transfer->len; |