linux/sound/soc/qcom/qdsp6
Srinivas Kandagatla 8f2e5c65ec
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: 9b4fe0f1cd ("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>
2022-01-26 13:31:40 +00:00
..
audioreach.c ASoC: qdsp6: audioreach: add module configuration command helpers 2021-10-26 13:50:05 +01:00
audioreach.h ASoC: qdsp6: qdsp6: q6prm: handle clk disable correctly 2021-11-16 14:29:43 +00:00
Makefile ASoC: qdsp6: audioreach: add support for q6prm-clocks 2021-10-26 13:50:12 +01:00
q6adm.c ASoC: qdsp6: q6adm: improve error reporting 2021-11-16 14:29:48 +00:00
q6adm.h ASoC: qdsp6: q6adm: Add q6adm driver 2018-05-21 16:40:24 +01:00
q6afe-clocks.c ASoC: qdsp6: q6afe-clocks: move audio-clocks to common file 2021-10-26 13:49:59 +01:00
q6afe-dai.c ASoC: qdsp6: q6afe-dai: move lpass audio ports to common file 2021-10-26 13:49:58 +01:00
q6afe.c ASoC: qdsp6: q6afe: Add Quinary MI2S ports 2021-06-15 16:39:38 +01:00
q6afe.h ASoC: qdsp6: q6afe: Add Quinary MI2S ports 2021-06-15 16:39:38 +01:00
q6apm-dai.c ASoC: qdsp6: q6apm-dai: only stop graphs that are started 2022-01-26 13:31:40 +00:00
q6apm-lpass-dais.c ASoC: qdsp6: audioreach: add q6apm lpass dai support 2021-10-26 13:50:10 +01:00
q6apm.c ASoC: qdsp6: fix a use after free bug in open() 2021-12-21 18:05:40 +00:00
q6apm.h ASoC: qdsp6: audioreach: add q6apm support 2021-10-26 13:50:04 +01:00
q6asm-dai.c ASoC: qdsp6: q6asm: fix q6asm_dai_prepare error handling 2021-11-16 14:29:45 +00:00
q6asm.c ASoC: qdsp6: q6asm: fix cppcheck warnings for unnecessary initialization 2021-08-09 13:49:12 +01:00
q6asm.h ASoC: qcom: q6asm: align function prototypes 2021-03-10 13:01:54 +00:00
q6core.c ASoC: qdsp6: add ifdef CONFIG_OF around of_device_id 2020-09-25 18:36:58 +01:00
q6core.h
q6dsp-common.c
q6dsp-common.h
q6dsp-errno.h
q6dsp-lpass-clocks.c ASoC: qdsp6: q6afe-clocks: move audio-clocks to common file 2021-10-26 13:49:59 +01:00
q6dsp-lpass-clocks.h ASoC: qdsp6: q6afe-clocks: move audio-clocks to common file 2021-10-26 13:49:59 +01:00
q6dsp-lpass-ports.c ASoC: qdsp6: q6afe-dai: move lpass audio ports to common file 2021-10-26 13:49:58 +01:00
q6dsp-lpass-ports.h ASoC: qdsp6: q6afe-dai: move lpass audio ports to common file 2021-10-26 13:49:58 +01:00
q6prm-clocks.c ASoC: qdsp6: audioreach: add support for q6prm-clocks 2021-10-26 13:50:12 +01:00
q6prm.c ASoC: qdsp6: qdsp6: q6prm: handle clk disable correctly 2021-11-16 14:29:43 +00:00
q6prm.h ASoC: qdsp6: audioreach: add q6prm support 2021-10-26 13:50:11 +01:00
q6routing.c ASoC: qdsp6: q6routing: Fix return value from msm_routing_put_audio_mixer 2021-12-01 14:13:48 +00:00
q6routing.h ASoC: qdsp6: q6routing: Add q6routing driver 2018-05-21 16:41:48 +01:00
topology.c ASoC: qdsp6: audioreach: Fix clang -Wimplicit-fallthrough 2021-10-28 13:28:18 +01:00