ASoC: dmaengine_pcm: add peripheral configuration
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 5 Feb 2021 07:26:25 +0000 (15:26 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 5 Feb 2021 17:16:41 +0000 (17:16 +0000)
commit500c9f8c58a7c8cd5d9c1483569c046cfcfc47a4
treec34e507393902f0726a538f852490e7d344d6aa5
parentb6040f9b987e9280de7a0a722668bb2b890f2163
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