]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: Fix simultaneous playback and capture
authorAkshu Agrawal <akshu.agrawal@amd.com>
Tue, 28 Jan 2020 10:30:22 +0000 (16:00 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jan 2020 17:48:47 +0000 (17:48 +0000)
commit57e606c69fb7b9d711d6b02fcc5eee186970f765
tree6b6a4d436230d5e48c94c443de53d8b4c7231b1b
parent58cb25f76f83ee549ef0736729707b56a5096d3b
ASoC: amd: Fix simultaneous playback and capture

Stopping of one stream is killing the other stream when they
are running simultaneously. This is because, IER register is
cleared which disables I2S and overrides any other block enables.

Clearing IER register only when all streams on a channel are disabled,
fixes the issue.

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Link: https://lore.kernel.org/r/20200128103029.128841-1-akshu.agrawal@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/raven/acp3x-i2s.c