diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-02-16 20:47:27 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-02-23 05:42:25 -0500 |
commit | 4b93d9d4e5b6c90d6154bdb22a3544abe5e4e41a (patch) | |
tree | e3f7b6c0a40d890331566ec863e80595ecc8a5a2 /drivers/mtd | |
parent | b76924a0193fe1f221e3f52a410247e4a1da5c5a (diff) |
mtd: sh_flctl: remove slave_id settings for DMAEngine
Current sh_flctl 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>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/sh_flctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/nand/sh_flctl.c b/drivers/mtd/nand/sh_flctl.c index a21c378f096a..c3ce81c1a716 100644 --- a/drivers/mtd/nand/sh_flctl.c +++ b/drivers/mtd/nand/sh_flctl.c | |||
@@ -159,7 +159,6 @@ static void flctl_setup_dma(struct sh_flctl *flctl) | |||
159 | return; | 159 | return; |
160 | 160 | ||
161 | memset(&cfg, 0, sizeof(cfg)); | 161 | memset(&cfg, 0, sizeof(cfg)); |
162 | cfg.slave_id = pdata->slave_id_fifo0_tx; | ||
163 | cfg.direction = DMA_MEM_TO_DEV; | 162 | cfg.direction = DMA_MEM_TO_DEV; |
164 | cfg.dst_addr = (dma_addr_t)FLDTFIFO(flctl); | 163 | cfg.dst_addr = (dma_addr_t)FLDTFIFO(flctl); |
165 | cfg.src_addr = 0; | 164 | cfg.src_addr = 0; |
@@ -175,7 +174,6 @@ static void flctl_setup_dma(struct sh_flctl *flctl) | |||
175 | if (!flctl->chan_fifo0_rx) | 174 | if (!flctl->chan_fifo0_rx) |
176 | goto err; | 175 | goto err; |
177 | 176 | ||
178 | cfg.slave_id = pdata->slave_id_fifo0_rx; | ||
179 | cfg.direction = DMA_DEV_TO_MEM; | 177 | cfg.direction = DMA_DEV_TO_MEM; |
180 | cfg.dst_addr = 0; | 178 | cfg.dst_addr = 0; |
181 | cfg.src_addr = (dma_addr_t)FLDTFIFO(flctl); | 179 | cfg.src_addr = (dma_addr_t)FLDTFIFO(flctl); |