diff options
Diffstat (limited to 'sound/core/hrtimer.c')
-rw-r--r-- | sound/core/hrtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/hrtimer.c b/sound/core/hrtimer.c index e2f27022b363..1ac0c423903e 100644 --- a/sound/core/hrtimer.c +++ b/sound/core/hrtimer.c | |||
@@ -58,7 +58,7 @@ static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) | |||
58 | 58 | ||
59 | /* calculate the drift */ | 59 | /* calculate the drift */ |
60 | delta = ktime_sub(hrt->base->get_time(), hrtimer_get_expires(hrt)); | 60 | delta = ktime_sub(hrt->base->get_time(), hrtimer_get_expires(hrt)); |
61 | if (delta.tv64 > 0) | 61 | if (delta > 0) |
62 | ticks += ktime_divns(delta, ticks * resolution); | 62 | ticks += ktime_divns(delta, ticks * resolution); |
63 | 63 | ||
64 | snd_timer_interrupt(stime->timer, ticks); | 64 | snd_timer_interrupt(stime->timer, ticks); |