summaryrefslogtreecommitdiffstats
path: root/sound/core/seq
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-10-24 18:16:50 +0200
committerTakashi Iwai <tiwai@suse.de>2008-10-24 18:16:50 +0200
commitbbaf5e97337287479eb78dbc3822d9560bbfd2e2 (patch)
tree806b5e54038417d55ab2a28bfe4f5f63c4738c20 /sound/core/seq
parent52948b3f7c481be2cd3a68d1db42dd6906bf853a (diff)
downloadop-kernel-dev-bbaf5e97337287479eb78dbc3822d9560bbfd2e2.zip
op-kernel-dev-bbaf5e97337287479eb78dbc3822d9560bbfd2e2.tar.gz
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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/core/seq/seq.c b/sound/core/seq/seq.c
index ee0f840..bf09a5a 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;
int seq_default_timer_sclass = SNDRV_TIMER_SCLASS_NONE;
int seq_default_timer_card = -1;
int seq_default_timer_device =
-#ifdef CONFIG_SND_SEQ_RTCTIMER_DEFAULT
+#ifdef CONFIG_SND_SEQ_HRTIMER_DEFAULT
+ SNDRV_TIMER_GLOBAL_HRTIMER
+#elif defined(CONFIG_SND_SEQ_RTCTIMER_DEFAULT)
SNDRV_TIMER_GLOBAL_RTC
#else
SNDRV_TIMER_GLOBAL_SYSTEM
OpenPOWER on IntegriCloud