linux-stable/sound/drivers
Ivan Orlov 3f7109ec1f ALSA: pcmtest: stop timer before buffer is released
[ Upstream commit eb99b1b72a ]

Stop timer in the 'trigger' and 'sync_stop' callbacks since we want
the timer to be stopped before the DMA buffer is released. Otherwise,
it could trigger a kernel panic in some circumstances, for instance
when the DMA buffer is already released but the timer callback is
still running.

Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20231206223211.12761-1-ivan.orlov0322@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-20 11:51:42 +01:00
..
mpu401
opl3
opl4
pcsp
vx
aloop.c
dummy.c
Kconfig
Makefile
mtpav.c
mts64.c
pcmtest.c
portman2x4.c
serial-generic.c
serial-u16550.c
virmidi.c