summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-rspi.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-02-17 01:47:41 +0000
committerVinod Koul <vinod.koul@intel.com>2015-02-23 16:13:02 +0530
commit118dad437f8dc8af6f531189d37c7db5ac7d51d4 (patch)
tree6d7f3b31d0f33a011d4ad531c72a61973717070a /drivers/spi/spi-rspi.c
parent4b93d9d4e5b6c90d6154bdb22a3544abe5e4e41a (diff)
downloadop-kernel-dev-118dad437f8dc8af6f531189d37c7db5ac7d51d4.zip
op-kernel-dev-118dad437f8dc8af6f531189d37c7db5ac7d51d4.tar.gz
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c
index 46ce470..3f41106 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;
OpenPOWER on IntegriCloud