diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-10-24 12:16:50 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-24 12:16:50 -0400 |
commit | bbaf5e97337287479eb78dbc3822d9560bbfd2e2 (patch) | |
tree | 806b5e54038417d55ab2a28bfe4f5f63c4738c20 /sound/core/seq | |
parent | 52948b3f7c481be2cd3a68d1db42dd6906bf853a (diff) |
ALSA: Add hrtimer backend for ALSA timer interface
Added the hrtimer backend for ALSA timer interface.
It can be used for the sequencer timer source.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq')
-rw-r--r-- | sound/core/seq/seq.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/core/seq/seq.c b/sound/core/seq/seq.c index ee0f8405ab35..bf09a5ad1865 100644 --- a/sound/core/seq/seq.c +++ b/sound/core/seq/seq.c | |||
@@ -43,7 +43,9 @@ int seq_default_timer_class = SNDRV_TIMER_CLASS_GLOBAL; | |||
43 | int seq_default_timer_sclass = SNDRV_TIMER_SCLASS_NONE; | 43 | int seq_default_timer_sclass = SNDRV_TIMER_SCLASS_NONE; |
44 | int seq_default_timer_card = -1; | 44 | int seq_default_timer_card = -1; |
45 | int seq_default_timer_device = | 45 | int seq_default_timer_device = |
46 | #ifdef CONFIG_SND_SEQ_RTCTIMER_DEFAULT | 46 | #ifdef CONFIG_SND_SEQ_HRTIMER_DEFAULT |
47 | SNDRV_TIMER_GLOBAL_HRTIMER | ||
48 | #elif defined(CONFIG_SND_SEQ_RTCTIMER_DEFAULT) | ||
47 | SNDRV_TIMER_GLOBAL_RTC | 49 | SNDRV_TIMER_GLOBAL_RTC |
48 | #else | 50 | #else |
49 | SNDRV_TIMER_GLOBAL_SYSTEM | 51 | SNDRV_TIMER_GLOBAL_SYSTEM |