diff options
| -rw-r--r-- | sound/core/hrtimer.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/sound/core/hrtimer.c b/sound/core/hrtimer.c index 7730575bfadd..07efa29dfd4a 100644 --- a/sound/core/hrtimer.c +++ b/sound/core/hrtimer.c @@ -45,12 +45,13 @@ static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt)  {  	struct snd_hrtimer *stime = container_of(hrt, struct snd_hrtimer, hrt);  	struct snd_timer *t = stime->timer; +	unsigned long oruns;  	if (!atomic_read(&stime->running))  		return HRTIMER_NORESTART; -	hrtimer_forward_now(hrt, ns_to_ktime(t->sticks * resolution)); -	snd_timer_interrupt(stime->timer, t->sticks); +	oruns = hrtimer_forward_now(hrt, ns_to_ktime(t->sticks * resolution)); +	snd_timer_interrupt(stime->timer, t->sticks * oruns);  	if (!atomic_read(&stime->running))  		return HRTIMER_NORESTART; | 
