]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - sound/hda/hdac_stream.c
clocksource: Use a plain u64 instead of cycle_t
[mirror_ubuntu-jammy-kernel.git] / sound / hda / hdac_stream.c
index 38990a77d7b780081167fa14ded35745025553c1..c6994ebb4567bf7f6120f9d94405ce1b557a0970 100644 (file)
@@ -465,7 +465,7 @@ int snd_hdac_stream_set_params(struct hdac_stream *azx_dev,
 }
 EXPORT_SYMBOL_GPL(snd_hdac_stream_set_params);
 
-static cycle_t azx_cc_read(const struct cyclecounter *cc)
+static u64 azx_cc_read(const struct cyclecounter *cc)
 {
        struct hdac_stream *azx_dev = container_of(cc, struct hdac_stream, cc);
 
@@ -473,7 +473,7 @@ static cycle_t azx_cc_read(const struct cyclecounter *cc)
 }
 
 static void azx_timecounter_init(struct hdac_stream *azx_dev,
-                                bool force, cycle_t last)
+                                bool force, u64 last)
 {
        struct timecounter *tc = &azx_dev->tc;
        struct cyclecounter *cc = &azx_dev->cc;
@@ -523,7 +523,7 @@ void snd_hdac_stream_timecounter_init(struct hdac_stream *azx_dev,
        struct snd_pcm_runtime *runtime = azx_dev->substream->runtime;
        struct hdac_stream *s;
        bool inited = false;
-       cycle_t cycle_last = 0;
+       u64 cycle_last = 0;
        int i = 0;
 
        list_for_each_entry(s, &bus->stream_list, list) {