diff options
author | Omair Mohammed Abdullah <omair.m.abdullah@linux.intel.com> | 2012-09-29 08:54:05 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-10-06 16:50:28 +0200 |
commit | d4f1e48bd11e3df6a26811f7a1f06c4225d92f7d (patch) | |
tree | 9095cf6f07b86a43df416c7ebdd261967935053d /firmware/qlogic/1280.bin.ihex | |
parent | ALSA: hda - Fix hang caused by race during suspend. (diff) | |
download | linux-d4f1e48bd11e3df6a26811f7a1f06c4225d92f7d.tar.xz linux-d4f1e48bd11e3df6a26811f7a1f06c4225d92f7d.zip |
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>
Diffstat (limited to 'firmware/qlogic/1280.bin.ihex')
0 files changed, 0 insertions, 0 deletions