diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-02-17 02:47:41 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-02-23 11:43:02 +0100 |
commit | 118dad437f8dc8af6f531189d37c7db5ac7d51d4 (patch) | |
tree | 6d7f3b31d0f33a011d4ad531c72a61973717070a /drivers/spi/spi-rspi.c | |
parent | mtd: sh_flctl: remove slave_id settings for DMAEngine (diff) | |
download | linux-118dad437f8dc8af6f531189d37c7db5ac7d51d4.tar.xz linux-118dad437f8dc8af6f531189d37c7db5ac7d51d4.zip |
spi: rspi: remove slave_id settings for DMAEngine
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>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/spi/spi-rspi.c')
-rw-r--r-- | drivers/spi/spi-rspi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c index 46ce47076e63..3f4110628474 100644 --- a/drivers/spi/spi-rspi.c +++ b/drivers/spi/spi-rspi.c @@ -913,7 +913,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; |