projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73aaf15
)
spi: fsl-espi: remove unneeded call to fsl_espi_setup_transfer
author
Heiner Kallweit
<hkallweit1@gmail.com>
Fri, 4 Nov 2016 20:00:40 +0000
(21:00 +0100)
committer
Mark Brown
<broonie@kernel.org>
Fri, 4 Nov 2016 20:46:39 +0000
(14:46 -0600)
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>
drivers/spi/spi-fsl-espi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-fsl-espi.c
b/drivers/spi/spi-fsl-espi.c
index 8b3a28739d9a18ed60b91db2396214ca8c2e7a21..1029bd2ff5f104337198b22e895ac38454c2e119 100644
(file)
--- 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);