All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: tiwai@suse.de
Cc: alsa-devel@alsa-project.org
Subject: [alsa-lib][PATCH v2 1/3] timer: obsolete legacy rtctimer instance
Date: Sat, 22 Apr 2017 00:27:59 +0900	[thread overview]
Message-ID: <20170421152801.19649-2-o-takashi@sakamocchi.jp> (raw)
In-Reply-To: <20170421152801.19649-1-o-takashi@sakamocchi.jp>

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>
---
 include/sound/asound.h | 2 +-
 include/timer.h        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/sound/asound.h b/include/sound/asound.h
index 67bf49d..609cadb 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 2803f53..32d9b89 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 */
-- 
2.9.3

  reply	other threads:[~2017-04-21 15:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-21 15:27 [alsa-lib][PATCH v2 0/3] timer/hwdep: update included headers with UAPI headers in recent kernel Takashi Sakamoto
2017-04-21 15:27 ` Takashi Sakamoto [this message]
2017-04-21 15:28 ` [alsa-lib][PATCH v2 2/3] hwdep: add Line6 USB series support Takashi Sakamoto
2017-04-21 15:28 ` [alsa-lib][PATCH v2 3/3] hwdep: add support for MOTU FireWire series and RME Fireface series Takashi Sakamoto
2017-04-21 15:59 ` [alsa-lib][PATCH v2 0/3] timer/hwdep: update included headers with UAPI headers in recent kernel Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170421152801.19649-2-o-takashi@sakamocchi.jp \
    --to=o-takashi@sakamocchi.jp \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.