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)
commit2243c4d0727ad85aff3f54be9d178632cc9234b2
tree7f623925bbc6c44072de689d2b915e567f163c7a
parentb1d4f7f4bdcf9915c41ff8cfc4425c84dabb1fde
ALSA: hrtimer: remove superfluous tasklet invocation

Commit bb758e9637e5ddc 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