linux/sound/soc/qcom
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
..
qdsp6 ASoC: qdsp6: q6apm-dai: only stop graphs that are started 2022-01-26 13:31:40 +00:00
apq8016_sbc.c ASoC: qcom: apq8016_sbc: Allow routing audio through QDSP6 2021-12-13 22:44:02 +00:00
apq8096.c ASoC: qcom: apq8096: Constify static snd_soc_ops 2021-10-01 19:35:05 +01:00
common.c ASoC: qcom: common: Parse "pin-switches" and "widgets" from DT 2021-12-23 18:34:26 +00:00
common.h
Kconfig ASoC: qcom: Add support for ALC5682I-VS codec 2021-11-29 12:19:48 +00:00
lpass-apq8016.c ASoC: qcom: lpass: Fix i2s ctl register bit map 2021-02-05 17:16:40 +00:00
lpass-cpu.c ASoC: qcom: lpass-cpu: mark IRQ_CLEAR register as volatile and readable 2021-06-24 19:29:53 +01:00
lpass-hdmi.c ASoC: qcom: lpass-hdmi: remove useless return 2021-03-10 13:01:49 +00:00
lpass-hdmi.h ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-ipq806x.c ASoC: qcom: lpass-ipq806x: fix bitwidth regmap field 2021-01-20 16:46:47 +00:00
lpass-lpaif-reg.h ASoC: qcom: lpass-cpu: Remove bit clock state check 2021-01-28 17:11:30 +00:00
lpass-platform.c ASoC: qcom: lpass: Use managed buffer allocation 2021-08-04 08:09:23 +02:00
lpass-sc7180.c ASoC: qcom: Add four speaker support on MI2S secondary 2021-06-14 15:01:05 +01:00
lpass.h Merge series "ASoC: tlv320aic32x4: Add support for TAS2505" from Claudius Heine <ch@denx.de>: 2021-06-23 16:31:14 +01:00
Makefile ASoC: qcom: sc7180: Add machine driver for sound card registration 2020-10-27 14:05:46 +00:00
sc7180.c ASoC: qcom: Distinguish headset codec by codec_dai->name 2021-12-14 17:15:51 +00:00
sdm845.c ASoC/SoundWire: dai: expand 'stream' concept beyond SoundWire 2021-12-24 14:06:47 +00:00
sm8250.c ASoC/SoundWire: dai: expand 'stream' concept beyond SoundWire 2021-12-24 14:06:47 +00:00
storm.c ASoC: qcom: Set card->owner to avoid warnings 2020-08-21 16:12:10 +01:00