aboutsummaryrefslogtreecommitdiff
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorIvan Orlov <ivan.orlov0322@gmail.com>2023-12-06 22:32:11 +0000
committerTakashi Iwai <tiwai@suse.de>2023-12-07 08:33:06 +0100
commiteb99b1b72a424a79f56c972e0fd7ad01fe93a008 (patch)
treef20e302ce6bb9de96d03a885c2e71e2b6a30ed73 /lib/fault-inject.c
parent8804fa04a492f4176ea407390052292912227820 (diff)
ALSA: pcmtest: stop timer before buffer is released
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>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions