From: Clemens Ladisch Date: Thu, 10 Feb 2011 15:15:44 +0000 (+0100) Subject: ALSA: hrtimer: handle delayed timer interrupts X-Git-Tag: v2.6.38-rc5~21^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1d4f7f4bdcf9915c41ff8cfc4425c84dabb1fde;p=pandora-kernel.git ALSA: hrtimer: handle delayed timer interrupts If a timer interrupt was delayed too much, hrtimer_forward_now() will forward the timer expiry more than once. When this happens, the additional number of elapsed ALSA timer ticks must be passed to snd_timer_interrupt() to prevent the ALSA timer from falling behind. This mostly fixes MIDI slowdown problems on highly-loaded systems with badly behaved interrupt handlers. Signed-off-by: Clemens Ladisch Reported-and-tested-by: Arthur Marsh Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed