projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'metag-for-v3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
spi
/
spi-fsl-spi.c
diff --git
a/drivers/spi/spi-fsl-spi.c
b/drivers/spi/spi-fsl-spi.c
index 2129fcd1c31b6513319debe93978efd1b1c197ea..119f7af945374f43a7e1547efbb2f5aa1d9517b0 100644
(file)
--- a/
drivers/spi/spi-fsl-spi.c
+++ b/
drivers/spi/spi-fsl-spi.c
@@
-339,7
+339,7
@@
static int fsl_spi_bufs(struct spi_device *spi, struct spi_transfer *t,
mpc8xxx_spi->tx = t->tx_buf;
mpc8xxx_spi->rx = t->rx_buf;
-
INIT_COMPLETION(
mpc8xxx_spi->done);
+
reinit_completion(&
mpc8xxx_spi->done);
if (mpc8xxx_spi->flags & SPI_CPM_MODE)
ret = fsl_spi_cpm_bufs(mpc8xxx_spi, t, is_dma_mapped);