aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/cthardware.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-06-08 04:21:07 -0400
committerTakashi Iwai <tiwai@suse.de>2009-06-08 06:38:54 -0400
commit54de6bc8b2437f642844cecb8d183df2368ffceb (patch)
tree6b984265d3da7ba6d11d7fb53a7e84b8d3485e1d /sound/pci/ctxfi/cthardware.h
parent28cd4aa43de2b6d3b1e3385d450bfb31cbe8d72a (diff)
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>
Diffstat (limited to 'sound/pci/ctxfi/cthardware.h')
-rw-r--r--sound/pci/ctxfi/cthardware.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/ctxfi/cthardware.h b/sound/pci/ctxfi/cthardware.h
index 35350cf9d2f2..8f11644ddc92 100644
--- a/sound/pci/ctxfi/cthardware.h
+++ b/sound/pci/ctxfi/cthardware.h
@@ -147,6 +147,7 @@ struct hw {
147 147
148 int (*set_timer_irq)(struct hw *hw, int enable); 148 int (*set_timer_irq)(struct hw *hw, int enable);
149 int (*set_timer_tick)(struct hw *hw, unsigned int tick); 149 int (*set_timer_tick)(struct hw *hw, unsigned int tick);
150 unsigned int (*get_wc)(struct hw *hw);
150 151
151 void (*irq_callback)(void *data, unsigned int bit); 152 void (*irq_callback)(void *data, unsigned int bit);
152 void *irq_callback_data; 153 void *irq_callback_data;