diff options
author | Pedro Lopez-Cabanillas <pedro.lopez.cabanillas@gmail.com> | 2009-11-08 00:01:06 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-08 09:21:56 +0100 |
commit | ef2d3cf747e2523e49929432226f838ef6d12843 (patch) | |
tree | c150fd32b3c27e2e3089764cb5eda1a5bd3c0ac5 | |
parent | 407e98b4c3a9ac1bb3d306e79b92731ba9e96555 (diff) |
Defined symbols exposing the hrtimer to applications.
Signed-off-by: Pedro Lopez-Cabanillas <pedro.lopez.cabanillas@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | include/sound/asound.h | 1 | ||||
-rw-r--r-- | include/timer.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/asound.h b/include/sound/asound.h index 62d1e573..fa889381 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h @@ -593,6 +593,7 @@ enum sndrv_timer_slave_class { #define SNDRV_TIMER_GLOBAL_SYSTEM 0 #define SNDRV_TIMER_GLOBAL_RTC 1 #define SNDRV_TIMER_GLOBAL_HPET 2 +#define SNDRV_TIMER_GLOBAL_HRTIMER 3 /* info flags */ #define SNDRV_TIMER_FLG_SLAVE (1<<0) /* cannot be controlled */ diff --git a/include/timer.h b/include/timer.h index 4d06e31f..2803f532 100644 --- a/include/timer.h +++ b/include/timer.h @@ -115,6 +115,8 @@ typedef struct _snd_timer_tread { #define SND_TIMER_GLOBAL_RTC 1 /** global timer - HPET */ #define SND_TIMER_GLOBAL_HPET 2 +/** global timer - HRTIMER */ +#define SND_TIMER_GLOBAL_HRTIMER 3 /** timer open mode flag - non-blocking behaviour */ #define SND_TIMER_OPEN_NONBLOCK (1<<0) |