linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ALSA: use ktime_get_raw_ts64() instead of getrawmonotonic64()
@ 2018-06-18 15:41 Arnd Bergmann
  2018-06-18 15:41 ` [PATCH 2/2] ALSA: line6: stop using get_seconds() Arnd Bergmann
  2018-06-18 15:45 ` [PATCH 1/2] ALSA: use ktime_get_raw_ts64() instead of getrawmonotonic64() Takashi Iwai
  0 siblings, 2 replies; 5+ messages in thread
From: Arnd Bergmann @ 2018-06-18 15:41 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: y2038, Arnd Bergmann, Takashi Sakamoto, Maciej S. Szmigiero,
	alsa-devel, linux-kernel

The API got renamed for consistency and the old name will
be removed once the last users are gone.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 include/sound/pcm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index 5d5daa190b08..f566611f0fef 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -1187,7 +1187,7 @@ static inline void snd_pcm_gettime(struct snd_pcm_runtime *runtime,
 		ktime_get_ts64(tv);
 		break;
 	case SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW:
-		getrawmonotonic64(tv);
+		ktime_get_raw_ts64(tv);
 		break;
 	default:
 #ifdef CONFIG_SND_TSTAMP_REALTIME
-- 
2.9.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-18 15:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-18 15:41 [PATCH 1/2] ALSA: use ktime_get_raw_ts64() instead of getrawmonotonic64() Arnd Bergmann
2018-06-18 15:41 ` [PATCH 2/2] ALSA: line6: stop using get_seconds() Arnd Bergmann
2018-06-18 15:45 ` [PATCH 1/2] ALSA: use ktime_get_raw_ts64() instead of getrawmonotonic64() Takashi Iwai
2018-06-18 15:52   ` Arnd Bergmann
2018-06-18 15:56     ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).