ALSA: intel8x0: Use ktime and ktime_get()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 11 Jun 2014 23:59:15 +0000 (23:59 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 12 Jun 2014 10:58:41 +0000 (12:58 +0200)
do_posix_clock_monotonic_gettime() is a leftover from the initial
posix timer implementation which maps to ktime_get_ts() and returns
the monotonic time in a timespec.

Use ktime based ktime_get() and use the ktime_delta_us() function to
calculate the delta instead of open coding the timespec math.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/intel8x0.c

Simple merge