diff options
author | Olivier Moysan | 2019-12-04 16:43:32 +0100 |
---|---|---|
committer | Mark Brown | 2019-12-24 23:56:17 +0000 |
commit | 86e1956af4c863d653136fd6e5694adf2054dbaa (patch) | |
tree | fc9fdb91d87a19e67c4f1db78dbe42e39bc04425 /sound/soc/soc-jack.c | |
parent | 2859b1784031b5709446af8f6039c467f136e67d (diff) |
ASoC: stm32: spdifrx: fix race condition in irq handler
When snd_pcm_stop() is called in interrupt routine,
substream context may have already been released.
Add protection on substream context.
Fixes: 03e4d5d56fa5 ("ASoC: stm32: Add SPDIFRX support")
Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Link: https://lore.kernel.org/r/20191204154333.7152-3-olivier.moysan@st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-jack.c')
0 files changed, 0 insertions, 0 deletions