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 ASoC: stm32: sai: add iec958 controls support 2018-06-18 12:54:38 +01:00
Makefile ASoC: stm32: add DFSDM DAI support 2018-01-10 10:52:05 +00:00
stm32_adfsdm.c ASoC: stm32: dfsdm: fix debugfs warnings on entry creation 2019-05-10 17:54:06 +02:00
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 ASoC: stm32: sai: Add support of S/PDIF playback 2018-02-26 11:19:04 +00:00
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