mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
20e5f8bfb1
Currently the SB8 MIDI code sets up the timer object at each time before scheduling it at trigger callback, but basically this is superfluous once after set up. Also, the code misses the del_timer_sync() call that may leave a race condition for use-after-free. This patch addresses these issues, moving timer_setup() to snd_sb8dsp_midi(), and adding the del_timer_sync() call at snd_sb8dsp_midi_output_trigger() to make sure. Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
emu8000_callback.c | ||
emu8000_local.h | ||
emu8000_patch.c | ||
emu8000_pcm.c | ||
emu8000_synth.c | ||
emu8000.c | ||
jazz16.c | ||
Makefile | ||
sb8_main.c | ||
sb8_midi.c | ||
sb8.c | ||
sb16_csp.c | ||
sb16_main.c | ||
sb16.c | ||
sb_common.c | ||
sb_mixer.c | ||
sbawe.c |