Skip to content

Commit f59f6aa

Browse files
arndbvinodkoul
authored andcommitted
mmc: bcm2835: stop setting chan_config->slave_id
The field is not interpreted by the DMA engine driver, as all the data is passed from devicetree instead. Remove the assignment so the field can eventually be deleted. Reviewed-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Ulf Hansson <[email protected]> Acked-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent feaa4a0 commit f59f6aa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/mmc/host/bcm2835.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,14 +1293,12 @@ static int bcm2835_add_host(struct bcm2835_host *host)
12931293

12941294
host->dma_cfg_tx.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
12951295
host->dma_cfg_tx.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
1296-
host->dma_cfg_tx.slave_id = 13; /* DREQ channel */
12971296
host->dma_cfg_tx.direction = DMA_MEM_TO_DEV;
12981297
host->dma_cfg_tx.src_addr = 0;
12991298
host->dma_cfg_tx.dst_addr = host->phys_addr + SDDATA;
13001299

13011300
host->dma_cfg_rx.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
13021301
host->dma_cfg_rx.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
1303-
host->dma_cfg_rx.slave_id = 13; /* DREQ channel */
13041302
host->dma_cfg_rx.direction = DMA_DEV_TO_MEM;
13051303
host->dma_cfg_rx.src_addr = host->phys_addr + SDDATA;
13061304
host->dma_cfg_rx.dst_addr = 0;

0 commit comments

Comments
 (0)