Takashi Iwai fcfdebe707 ALSA: hrtimer - Fix lock-up
The timer stop callback can be called from snd_timer_interrupt(), which
is called from the hrtimer callback.  Since hrtimer_cancel() waits for
the callback completion, this eventually results in a lock-up.

This patch fixes the problem by just toggling a flag at stop callback
and call hrtimer_cancel() later.

Reported-and-tested-by: Wojtek Zabolotny <W.Zabolotny@elka.pw.edu.pl>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-12-11 12:53:27 +01:00
..
2009-12-11 12:53:27 +01:00
2008-01-31 17:29:48 +01:00
2009-08-27 17:42:08 +02:00
2008-10-18 11:05:36 +02:00
2009-01-06 15:59:11 -08:00
2009-04-14 12:39:12 +02:00