ALSA: pcxhr: convert timeval to ktime_t
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Tue, 28 Oct 2014 12:27:44 +0000 (14:27 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 Oct 2014 14:07:25 +0000 (15:07 +0100)
commit326f0480b7f8504c4f594c4f36ab7874e17780bc
tree1b44805bde641b1141c64a61cfc89d3f917c6bde
parent66797f36fd17e8975f4a3449aed895cda952c0ce
ALSA: pcxhr: convert timeval to ktime_t

This patch is concerned with migrating the time variables in the pcxhr
module found in the sound driver. The changes are concerend with the
y2038 problem where timeval will overflow in the year 2038. ktime_t
was used instead of timeval to get the wall time. The difference
is displayed now in nanoseconds instead of microseconds.

Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/pcxhr/pcxhr.c
sound/pci/pcxhr/pcxhr_core.c
This page took 0.025641 seconds and 5 git commands to generate.