]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: AMD: Configure channel 1 or channel 0 for capture
authorAkshu Agrawal <akshu.agrawal@amd.com>
Thu, 21 Jun 2018 04:58:17 +0000 (12:58 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 22 Jun 2018 14:48:26 +0000 (15:48 +0100)
commit912d45156ace093f27f48a3c6429b9c5bbc4bdde
treee4d27d6ad4f35343bafc7ec6cad3ebbea860a164
parent538dca1d425ba10f7ff57d421db88515ccdc4f23
ASoC: AMD: Configure channel 1 or channel 0 for capture

ST/CZ SoC have 2 channels for capture in the I2SSP path.
The DMA though these channels is done using the same dma
descriptors.
We configure the channel and enable it on the basis of
channel selected by machine driver. Machine driver knows
which codec sits on which channel and thus sends the information
to dma driver.

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-da7219-max98357a.c
sound/soc/amd/acp-pcm-dma.c
sound/soc/amd/acp.h