]> 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)
commit41f3a055b602f0870e7b93a3f3745b03a8291441
tree6b6a4d436230d5e48c94c443de53d8b4c7231b1b
parent0bfa67973774623dc0c88ee8858d3efa282acd82
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