aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer.c
diff options
context:
space:
mode:
authorOmair Mohammed Abdullah <omair.m.abdullah@linux.intel.com>2012-09-29 12:24:05 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-13 05:28:10 +0900
commit7aa79b178e05175b39ae94f28289e036f37ac455 (patch)
treee3bec2f2a8bc9c7ae27755f5813625d62d5f395d /sound/usb/mixer.c
parent6c06bd661d429a77863ed7171ef66728f9d8d46b (diff)
downloadkernel_samsung_smdk4412-7aa79b178e05175b39ae94f28289e036f37ac455.tar.gz
kernel_samsung_smdk4412-7aa79b178e05175b39ae94f28289e036f37ac455.tar.bz2
kernel_samsung_smdk4412-7aa79b178e05175b39ae94f28289e036f37ac455.zip
ALSA: aloop - add locking to timer access
commit d4f1e48bd11e3df6a26811f7a1f06c4225d92f7d 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>
Diffstat (limited to 'sound/usb/mixer.c')
0 files changed, 0 insertions, 0 deletions