summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-06-02 07:38:02 +0200
committerMark Brown <broonie@kernel.org>2017-06-06 19:48:23 +0100
commitd6be7d1db51799fb510458b8ede6e5bef96ab1f0 (patch)
tree497caef6f3dd8162a79cb2aadc767966ca14129f /drivers/spi
parentd52345b6cf8ecd2c765edf81f49fa62483dd6437 (diff)
downloadtalos-obmc-linux-d6be7d1db51799fb510458b8ede6e5bef96ab1f0.tar.gz
talos-obmc-linux-d6be7d1db51799fb510458b8ede6e5bef96ab1f0.zip
spi: imx: drop bogus unnecessary dma config
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-imx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c
index 3fa5ccfb45a1..0ec8d816e033 100644
--- 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;
OpenPOWER on IntegriCloud