summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-falcon.c
diff options
context:
space:
mode:
authorAlexandru Ardelean <aardelean@deviqon.com>2021-03-08 15:54:59 +0100
committerMark Brown <broonie@kernel.org>2021-03-12 15:30:48 +0100
commita886010c69718988756fd7873522caa0f26af398 (patch)
treee30e9290bccf791a1e6cb0fc860d7e161bae98ed /drivers/spi/spi-falcon.c
parentstaging: greybus: spilib: use 'spi_delay_to_ns' for getting xfer delay (diff)
downloadlinux-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.c2
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;
}