[ALSA] timer: fix timer rescheduling
commitcd93fe4770ca607c7f39260c02941deccbd77b8b
authorClemens Ladisch <clemens@ladisch.de>
Mon, 17 Jul 2006 14:53:57 +0000 (17 16:53 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:38:13 +0000 (23 10:38 +0200)
tree7f2fc78b8815d88de991160feb7574120cd47aed
parentde2696d8bc9c81874b3743e0c27708760cb7fb52
[ALSA] timer: fix timer rescheduling

When checking whether a hardware timer needs to be rescheduled, we have
to compare against the previously scheduled interval and not against the
actual interval between the last two interrupts.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/core/timer.c