commit | 2afe8be85c2c79fc574c0d322ab60921d5deed43 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Wed Jun 11 23:59:15 2014 +0000 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Jun 12 12:58:41 2014 +0200 |
tree | 484833cf4f0e6424553878c1977ec2a6fcb96a2b | |
parent | 26204e048d2ee0c65e0539f7cc2b66f845a19a41 [diff] |
ALSA: intel8x0: Use ktime and ktime_get() 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>