diff mbox

[5/9,v4] spi: rspi: remove slave_id settings for DMAEngine

Message ID 87egqetn2w.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Superseded
Delegated to: Geert Uytterhoeven
Headers show

Commit Message

Kuninori Morimoto Jan. 29, 2015, 1:02 a.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

Current rspi sets dma_slave_config :: slave_id field for DMAEngine,
but it is no longer needed. Let's remove it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
v3 -> v4

 - no change

 drivers/spi/spi-rspi.c |    1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown Jan. 29, 2015, 11:29 a.m. UTC | #1
On Thu, Jan 29, 2015 at 01:02:36AM +0000, Kuninori Morimoto wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> Current rspi sets dma_slave_config :: slave_id field for DMAEngine,
> but it is no longer needed. Let's remove it.

Acked-by: Mark Brown <broonie@kernel.org>
diff mbox

Patch

diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c
index 2071f78..6cbcdc0 100644
--- a/drivers/spi/spi-rspi.c
+++ b/drivers/spi/spi-rspi.c
@@ -918,7 +918,6 @@  static struct dma_chan *rspi_request_dma_chan(struct device *dev,
 	}
 
 	memset(&cfg, 0, sizeof(cfg));
-	cfg.slave_id = id;
 	cfg.direction = dir;
 	if (dir == DMA_MEM_TO_DEV) {
 		cfg.dst_addr = port_addr;