linux-yocto/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 ALSA: dummy: Convert to generic PCM copy ops 2023-08-18 12:18:17 +02:00
Kconfig ALSA: Make SND_PCMTEST depend on DEBUG_FS 2023-08-18 09:10:22 +02:00
Makefile
mtpav.c
mts64.c
pcmtest.c ALSA: pcmtest: stop timer before buffer is released 2024-01-20 11:51:42 +01:00
portman2x4.c
serial-generic.c ASoC: Updates for v6.6 2023-08-28 16:13:03 +02:00
serial-u16550.c
virmidi.c