]> git.proxmox.com Git - qemu.git/blobdiff - hw/intel-hda.c
change all other clock references to use nanosecond resolution accessors
[qemu.git] / hw / intel-hda.c
index b2b67082e7e2383e724c48830a064e5c805b35bd..b0b1d1292a18631028f559a3b1250bfbcfe7b5a3 100644 (file)
@@ -1126,7 +1126,7 @@ static void intel_hda_reset(DeviceState *dev)
     HDACodecDevice *cdev;
 
     intel_hda_regs_reset(d);
-    d->wall_base_ns = qemu_get_clock(vm_clock);
+    d->wall_base_ns = qemu_get_clock_ns(vm_clock);
 
     /* reset codecs */
     QLIST_FOREACH(qdev, &d->codecs.qbus.children, sibling) {