net/mlx4_en: Run loopback test only when port is up
[linux-2.6-block.git] / include / sound / pcm.h
index b4d6697085fef71c2d31160c58ed70ff0f350686..d854fb31c000756e46bc9c677e6a9979232b8453 100644 (file)
@@ -932,7 +932,7 @@ static inline void snd_pcm_gettime(struct snd_pcm_runtime *runtime,
                                   struct timespec *tv)
 {
        if (runtime->tstamp_type == SNDRV_PCM_TSTAMP_TYPE_MONOTONIC)
-               do_posix_clock_monotonic_gettime(tv);
+               ktime_get_ts(tv);
        else
                getnstimeofday(tv);
 }