]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - sound/core/hrtimer.c
ktime: Get rid of the union
[mirror_ubuntu-artful-kernel.git] / sound / core / hrtimer.c
index e2f27022b363c482ba2614a2579f87f2b19192e3..1ac0c423903e7f3f41a2045fd20b9707df4ac00f 100644 (file)
@@ -58,7 +58,7 @@ static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt)
 
        /* calculate the drift */
        delta = ktime_sub(hrt->base->get_time(), hrtimer_get_expires(hrt));
-       if (delta.tv64 > 0)
+       if (delta > 0)
                ticks += ktime_divns(delta, ticks * resolution);
 
        snd_timer_interrupt(stime->timer, ticks);