diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2011-02-10 16:15:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-21 12:44:51 -0700 |
commit | 841d1e0a6aad6f65dae941af38c0f2566e4fa781 (patch) | |
tree | 576b5e9616052eafe19de1b077b0a69181475886 /sound/ppc | |
parent | 8352da691f11ec260191ab58d49da20bd4782b94 (diff) |
ALSA: hrtimer: handle delayed timer interrupts
commit b1d4f7f4bdcf9915c41ff8cfc4425c84dabb1fde upstream.
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 <clemens@ladisch.de>
Reported-and-tested-by: Arthur Marsh <arthur.marsh@internode.on.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/ppc')
0 files changed, 0 insertions, 0 deletions