mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 21:24:00 +08:00
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>
This commit is contained in:
parent
73aaf15849
commit
60d9531a61
@ -331,8 +331,6 @@ static int fsl_espi_trans(struct spi_message *m, struct spi_transfer *trans)
|
|||||||
if (trans->delay_usecs)
|
if (trans->delay_usecs)
|
||||||
udelay(trans->delay_usecs);
|
udelay(trans->delay_usecs);
|
||||||
|
|
||||||
fsl_espi_setup_transfer(spi, NULL);
|
|
||||||
|
|
||||||
if (!ret)
|
if (!ret)
|
||||||
fsl_espi_copy_from_buf(m, mspi);
|
fsl_espi_copy_from_buf(m, mspi);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user