android_kernel_google_msm/sound/drivers
Omair Mohammed Abdullah 4ca1a84f73 ALSA: aloop - add locking to timer access
commit d4f1e48bd1 upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-13 05:38:51 +09:00
..
mpu401 ALSA: mpu401: Fix missing initialization of irq field 2012-08-09 08:31:52 -07:00
opl3 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
opl4 sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
pcsp ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
vx sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
aloop.c ALSA: aloop - add locking to timer access 2012-10-13 05:38:51 +09:00
dummy.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
Kconfig Documentation: remove references to /etc/modprobe.conf 2012-03-30 16:03:15 -07:00
Makefile
ml403-ac97cr.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
mtpav.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
mts64.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
pcm-indirect2.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pcm-indirect2.h
portman2x4.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
serial-u16550.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
virmidi.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00