kernel-fxtec-pro1x/sound/soc/stm
Olivier Moysan 7835b07257 ASoC: stm32: spdifrx: fix race condition in irq handler
commit 86e1956af4c863d653136fd6e5694adf2054dbaa upstream.

When snd_pcm_stop() is called in interrupt routine,
substream context may have already been released.
Add protection on substream context.

Fixes: 03e4d5d56f ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-17 19:46:59 +01:00
..
Kconfig
Makefile
stm32_adfsdm.c
stm32_i2s.c ASoC: stm32: i2s: fix IRQ clearing 2019-12-05 09:21:35 +01:00
stm32_sai.c ASoC: stm32: sai: add missing put_device() 2019-12-05 09:21:35 +01:00
stm32_sai.h
stm32_sai_sub.c ASoC: stm32: sai: add restriction on mmap support 2019-12-05 09:19:44 +01:00
stm32_spdifrx.c ASoC: stm32: spdifrx: fix race condition in irq handler 2020-01-17 19:46:59 +01:00