From c9d1c6296da3f1041a4013fa1012add3c1acd9dd Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Mon, 17 Jul 2006 16:51:37 +0200 Subject: [PATCH] --- yaml --- r: 34837 b: refs/heads/master c: 6ed5eff025b72cb84a884d4be05f854f13b1542f h: refs/heads/master i: 34835: 0593dbc194a1cc246e4a224323b8f7a9e7fa1b9c v: v3 --- [refs] | 2 +- trunk/sound/core/timer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d6f7dd424eae..6a44b59144aa 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 17f48ec3f15ddb8080b151304ee887c68f7e4650 +refs/heads/master: 6ed5eff025b72cb84a884d4be05f854f13b1542f diff --git a/trunk/sound/core/timer.c b/trunk/sound/core/timer.c index 86357007259d..0f6e6727ff7c 100644 --- a/trunk/sound/core/timer.c +++ b/trunk/sound/core/timer.c @@ -971,7 +971,7 @@ static void snd_timer_s_function(unsigned long data) struct snd_timer_system_private *priv = timer->private_data; unsigned long jiff = jiffies; if (time_after(jiff, priv->last_expires)) - priv->correction = (long)jiff - (long)priv->last_expires; + priv->correction += (long)jiff - (long)priv->last_expires; snd_timer_interrupt(timer, (long)jiff - (long)priv->last_jiffies); }