aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/core/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/timer.c b/sound/core/timer.c
index 86357007259..0f6e6727ff7 100644
--- a/sound/core/timer.c
+++ b/sound/core/timer.c
@@ -971,7 +971,7 @@ static void snd_timer_s_function(unsigned long data)
971 struct snd_timer_system_private *priv = timer->private_data; 971 struct snd_timer_system_private *priv = timer->private_data;
972 unsigned long jiff = jiffies; 972 unsigned long jiff = jiffies;
973 if (time_after(jiff, priv->last_expires)) 973 if (time_after(jiff, priv->last_expires))
974 priv->correction = (long)jiff - (long)priv->last_expires; 974 priv->correction += (long)jiff - (long)priv->last_expires;
975 snd_timer_interrupt(timer, (long)jiff - (long)priv->last_jiffies); 975 snd_timer_interrupt(timer, (long)jiff - (long)priv->last_jiffies);
976} 976}
977 977