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

ASoC: fsi: remove slave_id settings for DMAEngine

Current fsi sets dma_slave_config :: slave_id field for DMAEngine,
but it is no longer needed. Let's remove it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

authored by

Kuninori Morimoto and committed by
Vinod Koul
5b7cdc80 e95ddb5b

+1 -2
+1 -2
sound/soc/sh/fsi.c
··· 1371 1371 shdma_chan_filter, (void *)io->dma_id, 1372 1372 dev, is_play ? "tx" : "rx"); 1373 1373 if (io->chan) { 1374 - struct dma_slave_config cfg; 1374 + struct dma_slave_config cfg = {}; 1375 1375 int ret; 1376 1376 1377 - cfg.slave_id = io->dma_id; 1378 1377 cfg.dst_addr = 0; /* use default addr */ 1379 1378 cfg.src_addr = 0; /* use default addr */ 1380 1379 cfg.direction = is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM;