diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-06-11 19:59:14 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-06-12 06:58:16 -0400 |
commit | 26204e048d2ee0c65e0539f7cc2b66f845a19a41 (patch) | |
tree | f7c5fbb2d50665697987739cb2d073a4098afdfb /include/sound | |
parent | b4f75aea553a2146bbdd159c397a2ac42cbb9902 (diff) |
ALSA: core: Use ktime_get_ts()
do_posix_clock_monotonic_gettime() is a leftover from the initial
posix timer implementation which maps to ktime_get_ts().
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/pcm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index b4d6697085fe..d854fb31c000 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h | |||
@@ -932,7 +932,7 @@ static inline void snd_pcm_gettime(struct snd_pcm_runtime *runtime, | |||
932 | struct timespec *tv) | 932 | struct timespec *tv) |
933 | { | 933 | { |
934 | if (runtime->tstamp_type == SNDRV_PCM_TSTAMP_TYPE_MONOTONIC) | 934 | if (runtime->tstamp_type == SNDRV_PCM_TSTAMP_TYPE_MONOTONIC) |
935 | do_posix_clock_monotonic_gettime(tv); | 935 | ktime_get_ts(tv); |
936 | else | 936 | else |
937 | getnstimeofday(tv); | 937 | getnstimeofday(tv); |
938 | } | 938 | } |