]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ASoC: wm_adsp: Update cached error state on trigger
authorStuart Henderson <stuarth@opensource.cirrus.com>
Tue, 19 Feb 2019 17:31:57 +0000 (17:31 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 20 Feb 2019 12:00:28 +0000 (12:00 +0000)
commitf938f3485c385b9b5c796b2e93427c015a7d18fa
tree4e9d84d24e104f4a5f888b829bbbdbf4fe72aff8
parent05bd7fcdd06b19a10f069af1bea3ad9abac038d7
ASoC: wm_adsp: Update cached error state on trigger

If a compressed stream is restarted after getting an error, the cached
error value will still be used on the next pointer request, preventing
the stream from starting.  Resolve this by ensuring the error status is
updated on trigger start.

Signed-off-by: Stuart Henderson <stuarth@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c