summaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2022-01-26 12:35:49 +0100
committerMark Brown <broonie@kernel.org>2022-01-26 14:31:40 +0100
commit8f2e5c65ec7534cce6d315fccf2c3aef023f68f0 (patch)
treedd679d8ba4ea74ab567ccafa77d1d1729d4494d3 /sound/core
parentASoC: codecs: wcd938x: fix return value of mixer put function (diff)
downloadlinux-8f2e5c65ec7534cce6d315fccf2c3aef023f68f0.tar.xz
linux-8f2e5c65ec7534cce6d315fccf2c3aef023f68f0.zip
ASoC: qdsp6: q6apm-dai: only stop graphs that are started
Its possible that the sound card is just opened and closed without actually playing stream, ex: if the audio file itself is missing. Even in such cases we do call stop on graphs that are not yet started. DSP can throw errors in such cases, so add a check to see if the graph was started before stopping it. Fixes: 9b4fe0f1cd79 ("ASoC: qdsp6: audioreach: add q6apm-dai support") Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20220126113549.8853-5-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions