projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ed5eff
)
[ALSA] system timer: clear correction value when timer stops
author
Clemens Ladisch
<clemens@ladisch.de>
Mon, 17 Jul 2006 14:52:09 +0000
(16:52 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Sat, 23 Sep 2006 08:38:08 +0000
(10:38 +0200)
Do not retain the old correction value when the timer was stopped.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/core/timer.c
patch
|
blob
|
history
diff --git
a/sound/core/timer.c
b/sound/core/timer.c
index 0f6e6727ff7c576944baf90f8241becd681acc1a..4fcc8549e4a646beffa1c33ab4545516c0c35a99 100644
(file)
--- a/
sound/core/timer.c
+++ b/
sound/core/timer.c
@@
-1006,6
+1006,7
@@
static int snd_timer_s_stop(struct snd_timer * timer)
timer->sticks = priv->last_expires - jiff;
else
timer->sticks = 1;
+ priv->correction = 0;
return 0;
}