diff options
author | 2019-12-04 16:43:32 +0100 | |
---|---|---|
committer | 2019-12-24 23:56:17 +0000 | |
commit | 86e1956af4c863d653136fd6e5694adf2054dbaa (patch) | |
tree | fc9fdb91d87a19e67c4f1db78dbe42e39bc04425 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: stm32: spdifrx: fix inconsistent lock state (diff) | |
download | wireguard-linux-86e1956af4c863d653136fd6e5694adf2054dbaa.tar.xz wireguard-linux-86e1956af4c863d653136fd6e5694adf2054dbaa.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions