diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-11-04 21:00:40 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-04 21:46:39 +0100 |
commit | 60d9531a61efc8e6b69d04089d50a0a929090fe1 (patch) | |
tree | 43f4431c98ede0c567cee7520a9152413396ddcb /drivers/spi/spi-fsl-espi.c | |
parent | spi: fsl-espi: fix support for all available clock rates (diff) | |
download | linux-60d9531a61efc8e6b69d04089d50a0a929090fe1.tar.xz linux-60d9531a61efc8e6b69d04089d50a0a929090fe1.zip |
spi: fsl-espi: remove unneeded call to fsl_espi_setup_transfer
Resetting the chip to a default transfer mode after each transfer
doesn't provide any benefit. Therefore remove this call.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-espi.c')
-rw-r--r-- | drivers/spi/spi-fsl-espi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c index 8b3a28739d9a..1029bd2ff5f1 100644 --- a/drivers/spi/spi-fsl-espi.c +++ b/drivers/spi/spi-fsl-espi.c @@ -331,8 +331,6 @@ static int fsl_espi_trans(struct spi_message *m, struct spi_transfer *trans) if (trans->delay_usecs) udelay(trans->delay_usecs); - fsl_espi_setup_transfer(spi, NULL); - if (!ret) fsl_espi_copy_from_buf(m, mspi); |