Commit 60d9531a authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Mark Brown

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: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 73aaf158
...@@ -331,8 +331,6 @@ static int fsl_espi_trans(struct spi_message *m, struct spi_transfer *trans) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment