From: Takashi Iwai Date: Fri, 11 Dec 2009 11:51:05 +0000 (+0100) Subject: ALSA: hrtimer - Fix lock-up X-Git-Tag: v2.6.33-rc1~294^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcfdebe70759c74e2e701f69aaa7f0e5e32cf5a6;p=pandora-kernel.git 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 Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed