Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <nsaenz@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211122222203.4103644-5-arnd@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Arnd Bergmann and committed by
Vinod Koul
f59f6aae feaa4a09

-2
-2
drivers/mmc/host/bcm2835.c
··· 1293 1293 1294 1294 host->dma_cfg_tx.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; 1295 1295 host->dma_cfg_tx.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; 1296 - host->dma_cfg_tx.slave_id = 13; /* DREQ channel */ 1297 1296 host->dma_cfg_tx.direction = DMA_MEM_TO_DEV; 1298 1297 host->dma_cfg_tx.src_addr = 0; 1299 1298 host->dma_cfg_tx.dst_addr = host->phys_addr + SDDATA; 1300 1299 1301 1300 host->dma_cfg_rx.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; 1302 1301 host->dma_cfg_rx.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; 1303 - host->dma_cfg_rx.slave_id = 13; /* DREQ channel */ 1304 1302 host->dma_cfg_rx.direction = DMA_DEV_TO_MEM; 1305 1303 host->dma_cfg_rx.src_addr = host->phys_addr + SDDATA; 1306 1304 host->dma_cfg_rx.dst_addr = 0;