summaryrefslogtreecommitdiffstats
path: root/sound/core/sound_oss.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2019-04-02 13:49:14 +0100
committerMark Brown <broonie@kernel.org>2019-04-03 10:52:12 +0700
commit43d147be5738a9ed6cfb25c285ac50d6dd5793be (patch)
tree08768eda4ebc7045967eec23106481d5d7737ffa /sound/core/sound_oss.c
parent6e3bfcff191ec9476ca5ef9b2ad85a15ba829374 (diff)
downloadlinux-43d147be5738a9ed6cfb25c285ac50d6dd5793be.tar.bz2
ASoC: wm_adsp: Check for buffer in trigger stop
Trigger stop can be called in situations where trigger start failed and as such it can't be assumed the buffer is already attached to the compressed stream or a NULL pointer may be dereferenced. Fixes: 639e5eb3c7d6 ("ASoC: wm_adsp: Correct handling of compressed streams that restart") Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/core/sound_oss.c')
0 files changed, 0 insertions, 0 deletions