diff options
author | Alexandru Ardelean <aardelean@deviqon.com> | 2021-03-08 15:54:59 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-12 15:30:48 +0100 |
commit | a886010c69718988756fd7873522caa0f26af398 (patch) | |
tree | e30e9290bccf791a1e6cb0fc860d7e161bae98ed /drivers/spi/spi-falcon.c | |
parent | staging: greybus: spilib: use 'spi_delay_to_ns' for getting xfer delay (diff) | |
download | linux-a886010c69718988756fd7873522caa0f26af398.tar.xz linux-a886010c69718988756fd7873522caa0f26af398.zip |
spi: spi-falcon: remove check for 'delay_usecs'
The 'delay_usecs' field is being removed from the spi_transfer struct.
This change removes it from the SPI Falcon driver.
Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210308145502.1075689-8-aardelean@deviqon.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-falcon.c')
-rw-r--r-- | drivers/spi/spi-falcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c index d3336a63f462..a7d4dffac66b 100644 --- a/drivers/spi/spi-falcon.c +++ b/drivers/spi/spi-falcon.c @@ -377,7 +377,7 @@ static int falcon_sflash_xfer_one(struct spi_master *master, m->actual_length += t->len; - WARN_ON(t->delay_usecs || t->delay.value || t->cs_change); + WARN_ON(t->delay.value || t->cs_change); spi_flags = 0; } |