ALSA: ctxfi - Optimize the native timer handling using wc counter
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Jun 2009 08:21:07 +0000 (10:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Jun 2009 10:38:54 +0000 (12:38 +0200)
commit54de6bc8b2437f642844cecb8d183df2368ffceb
tree6b984265d3da7ba6d11d7fb53a7e84b8d3485e1d
parent28cd4aa43de2b6d3b1e3385d450bfb31cbe8d72a
ALSA: ctxfi - Optimize the native timer handling using wc counter

Optimize the timer update routine to look up wall clock once instead of
checking the position of each stream at each timer update.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/cthardware.h
sound/pci/ctxfi/cthw20k1.c
sound/pci/ctxfi/cttimer.c