summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorIvan Orlov <ivan.orlov0322@gmail.com>2023-12-07 01:32:11 +0300
committerTakashi Iwai <tiwai@suse.de>2023-12-07 10:33:06 +0300
commiteb99b1b72a424a79f56c972e0fd7ad01fe93a008 (patch)
treef20e302ce6bb9de96d03a885c2e71e2b6a30ed73 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent8804fa04a492f4176ea407390052292912227820 (diff)
downloadlinux-eb99b1b72a424a79f56c972e0fd7ad01fe93a008.tar.xz
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 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions