]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68eb86fbe0b3729bae29cab5774623840aae9221
treec34e507393902f0726a538f852490e7d344d6aa5
parent2db01a8052f34a12afc54b49389b4d9cec68447d
ASoC: dmaengine_pcm: add peripheral configuration

The commit 9825a076d237 ("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