linux/sound/isa/sb
Takashi Iwai 20e5f8bfb1 ALSA: sb: Minor optimization / fix of timer usage in sb8_midi.c
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>
2017-10-25 10:00:43 +02:00
..
emu8000_callback.c sound: emu8000: constify emu8000_ops 2017-08-15 08:21:51 +02:00
emu8000_local.h [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
emu8000_patch.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
emu8000_pcm.c ALSA: sb: Convert timers to use timer_setup() 2017-10-25 09:51:21 +02:00
emu8000_synth.c ALSA: seq: Define driver object in each driver 2015-02-12 14:15:54 +01:00
emu8000.c ALSA: seq: Allow the modular sequencer registration 2017-06-12 08:43:33 +02:00
jazz16.c Annotate hardware config module parameters in sound/isa/ 2017-04-20 12:02:32 +01:00
Makefile ALSA: Merge es1688 and es968 drivers 2010-05-10 09:49:30 +02:00
sb8_main.c ALSA: isa: make snd_pcm_hardware const 2017-08-17 12:44:11 +02:00
sb8_midi.c ALSA: sb: Minor optimization / fix of timer usage in sb8_midi.c 2017-10-25 10:00:43 +02:00
sb8.c Annotate hardware config module parameters in sound/isa/ 2017-04-20 12:02:32 +01:00
sb16_csp.c ALSA: sound/isa: constify snd_kcontrol_new structures 2017-05-21 09:07:56 +02:00
sb16_main.c ALSA: isa: make snd_pcm_hardware const 2017-08-17 12:44:11 +02:00
sb16.c ALSA: sb16: constify pnp_card_device_id 2017-08-17 12:42:29 +02:00
sb_common.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
sb_mixer.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00
sbawe.c