]> 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)
commitd2aa8cfc9b639b6e79919671dbf1c1ef61a9955b
treee4d27d6ad4f35343bafc7ec6cad3ebbea860a164
parentb806d26f65480e95618ff6417f7f2a0f309f1b0d
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