提交 de2696d8 编写于 作者: C Clemens Ladisch 提交者: Jaroslav Kysela

[ALSA] system timer: clear correction value when timer stops

Do not retain the old correction value when the timer was stopped.
Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 6ed5eff0
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册