Files
linux-legacy/sound
Takashi Iwai 417cb778fa ALSA: hrtimer - Fix lock-up
commit fcfdebe70759c74e2e701f69aaa7f0e5e32cf5a6 upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-18 13:43:16 -08:00
..
2009-12-08 10:21:01 -08:00
2009-12-18 13:43:16 -08:00
2009-07-29 14:41:24 +02:00
2009-03-30 15:21:59 +02:00