linux/sound/drivers
Omair Mohammed Abdullah d4f1e48bd1 ALSA: aloop - add locking to timer access
When the loopback timer handler is running, calling del_timer() (for STOP
trigger) will not wait for the handler to complete before deactivating the
timer. The timer gets rescheduled in the handler as usual. Then a subsequent
START trigger will try to start the timer using add_timer() with a timer pending
leading to a kernel panic.

Serialize the calls to add_timer() and del_timer() using a spin lock to avoid
this.

Signed-off-by: Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-10-06 16:50:28 +02:00
..
mpu401
opl3 sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
opl4 ALSA: opl4: use list_move_tail instead of list_del/list_add_tail 2012-09-05 09:14:45 +02:00
pcsp
vx sound: Remove unnecessary semicolon 2012-10-06 16:47:53 +02:00
aloop.c ALSA: aloop - add locking to timer access 2012-10-06 16:50:28 +02:00
dummy.c
Kconfig
Makefile
ml403-ac97cr.c
mtpav.c
mts64.c
pcm-indirect2.c
pcm-indirect2.h
portman2x4.c
serial-u16550.c
virmidi.c