]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hrtimer: remove superfluous tasklet invocation
authorClemens Ladisch <clemens@ladisch.de>
Thu, 10 Feb 2011 15:16:32 +0000 (16:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Feb 2011 17:53:32 +0000 (18:53 +0100)
commit191094d09bda223b4e9af7c4b0d191c794847a65
tree7f623925bbc6c44072de689d2b915e567f163c7a
parent5c99bda9c42ddfc53617c6aa78d7102b44139101
ALSA: hrtimer: remove superfluous tasklet invocation

Commit f788fa8f9f631c4 removed snd_hrtimer_callback() from the hardware
interrupt handler, thus moving it into a tasklet, but did not tell the
ALSA timer framework about this, so the timer handling would now be done
in the ALSA timer tasklet scheduled from another tasklet.

To fix this, add the flag to tell the ALSA timer framework that the
timer handler is already being invoked in a tasklet.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/hrtimer.c