ASoC: AMD: Send correct channel for configuring DMA descriptors
authorAgrawal, Akshu <Akshu.Agrawal@amd.com>
Mon, 16 Jul 2018 07:02:40 +0000 (15:02 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 16 Jul 2018 14:30:11 +0000 (15:30 +0100)
commitfa9d2f17c23fb3ea6b659b1bfe4ca10551a19e56
tree3d24390ec225b3b6e80fe8be531cec034d09d606
parent8452112baac67c3235d15de67fb190d29bbba98f
ASoC: AMD: Send correct channel for configuring DMA descriptors

Earlier, ch1 was used to define ACP-SYSMEM transfer and ch2 for
ACP-I2S transfer. With recent patches ch1 is used to define channel
order number 1 and ch2 as channel order number 2. Thus,
Playback:
ch1:SYSMEM->ACP
ch2:ACP->I2S
Capture:
ch1:I2S->ACP
ch1:ACP->SYSMEM

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