projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae35d1
)
ASoC: qcom: Use snd_pcm_stop_xrun() helper
author
Takashi Iwai
<tiwai@suse.de>
Wed, 4 Jul 2018 14:01:44 +0000
(16:01 +0200)
committer
Mark Brown
<broonie@kernel.org>
Wed, 4 Jul 2018 14:41:34 +0000
(15:41 +0100)
The XRUN trigger from the driver should be done via
snd_pcm_stop_xrun(). It fixes the missing stream locking as a gratis,
too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-platform.c
patch
|
blob
|
history
diff --git
a/sound/soc/qcom/lpass-platform.c
b/sound/soc/qcom/lpass-platform.c
index 31fe78aa207fc175bf36bff01b3138757b0d2e14..d07271ea4c45165b694a51777af7957b36d454ad 100644
(file)
--- a/
sound/soc/qcom/lpass-platform.c
+++ b/
sound/soc/qcom/lpass-platform.c
@@
-458,7
+458,7
@@
static irqreturn_t lpass_dma_interrupt_handler(
return IRQ_NONE;
}
dev_warn(soc_runtime->dev, "xrun warning\n");
- snd_pcm_stop
(substream, SNDRV_PCM_STATE_XRUN
);
+ snd_pcm_stop
_xrun(substream
);
ret = IRQ_HANDLED;
}