diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-04-22 00:27:59 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-04-21 17:57:56 +0200 |
commit | d1777a503d306471a03177e5b5b0af008c5b625b (patch) | |
tree | d8545ded797262c4a89effe1e3f2ce1ab2148495 | |
parent | bfd712fe327b4f8271680420648be1985a0aa773 (diff) |
timer: obsolete legacy rtctimer instance
At v4.7 development, ALSA timer interface dropped device instance based on
legacy rtctimer implementation. User space applications should not use the
device instance.
This commit adds comments to notify a corresponding macro should not be
used anymore.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | include/sound/asound.h | 2 | ||||
-rw-r--r-- | include/timer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/asound.h b/include/sound/asound.h index 67bf49d8..609cadb8 100644 --- a/include/sound/asound.h +++ b/include/sound/asound.h @@ -672,7 +672,7 @@ enum { /* global timers (device member) */ #define SNDRV_TIMER_GLOBAL_SYSTEM 0 -#define SNDRV_TIMER_GLOBAL_RTC 1 +#define SNDRV_TIMER_GLOBAL_RTC 1 /* unused */ #define SNDRV_TIMER_GLOBAL_HPET 2 #define SNDRV_TIMER_GLOBAL_HRTIMER 3 diff --git a/include/timer.h b/include/timer.h index 2803f532..32d9b895 100644 --- a/include/timer.h +++ b/include/timer.h @@ -112,7 +112,7 @@ typedef struct _snd_timer_tread { /** global timer - system */ #define SND_TIMER_GLOBAL_SYSTEM 0 /** global timer - RTC */ -#define SND_TIMER_GLOBAL_RTC 1 +#define SND_TIMER_GLOBAL_RTC 1 /* Obsoleted, due to enough legacy. */ /** global timer - HPET */ #define SND_TIMER_GLOBAL_HPET 2 /** global timer - HRTIMER */ |