aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/soc-jack.c
diff options
context:
space:
mode:
authorOlivier Moysan2019-12-04 16:43:32 +0100
committerMark Brown2019-12-24 23:56:17 +0000
commit86e1956af4c863d653136fd6e5694adf2054dbaa (patch)
treefc9fdb91d87a19e67c4f1db78dbe42e39bc04425 /sound/soc/soc-jack.c
parent2859b1784031b5709446af8f6039c467f136e67d (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