projects
/
GitHub
/
LineageOS
/
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:
d52345b
)
spi: imx: drop bogus unnecessary dma config
author
Sascha Hauer
<s.hauer@pengutronix.de>
Fri, 2 Jun 2017 05:38:02 +0000
(07:38 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 6 Jun 2017 18:48:23 +0000
(19:48 +0100)
It's unnecessary to call spi_imx_dma_configure() from probe(). It will
be called later anyway again when an actual DMA transfer is prepared.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-imx.c
b/drivers/spi/spi-imx.c
index 3fa5ccfb45a113c617bdbc3e1c62fa120eefe70a..0ec8d816e0337bb7baa7ecb9d486054f0af72958 100644
(file)
--- a/
drivers/spi/spi-imx.c
+++ b/
drivers/spi/spi-imx.c
@@
-965,8
+965,6
@@
static int spi_imx_sdma_init(struct device *dev, struct spi_imx_data *spi_imx,
goto err;
}
- spi_imx_dma_configure(master, 1);
-
init_completion(&spi_imx->dma_rx_completion);
init_completion(&spi_imx->dma_tx_completion);
master->can_dma = spi_imx_can_dma;