ASoC: dmaengine_pcm: add peripheral configuration
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 5 Feb 2021 07:26:25 +0000 (15:26 +0800)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 21 Apr 2021 08:00:08 +0000 (16:00 +0800)
commit0d8894ef896d1319c058fe96ce8f32fb71c568ad
treeeb60f6d2619065411c4068808a027f362b2da07f
parent1f9552f02686cbaf52c1cf26dc0b82917e72e4f3
ASoC: dmaengine_pcm: add peripheral configuration

The commit e7bbb7acabf4 ("dmaengine: add peripheral configuration")
adds peripheral configuration for dma_slave_config.

This configuration is useful for some audio peripherals, for
example, the peripheral supports multi fifos, we can
let the DMA know which fifos are selected. So also add
this configuration for snd_dmaengine_dai_dma_data.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1612509985-11063-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/dmaengine_pcm.h
sound/core/pcm_dmaengine.c