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 3/3] timer: obsolete legacy rtctimer instance
Date: Sat, 22 Apr 2017 00:08:20 +0900	[thread overview]
Message-ID: <20170421150820.18199-4-o-takashi@sakamocchi.jp> (raw)
In-Reply-To: <20170421150820.18199-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 drops a macro corresponding to the instance.

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 9887361..fb8d7d7 100644
--- a/include/sound/asound.h
+++ b/include/sound/asound.h
@@ -675,7 +675,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..8b8a8ea 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	/* unused */
 /** global timer - HPET */
 #define SND_TIMER_GLOBAL_HPET	2
 /** global timer - HRTIMER */
-- 
2.9.3

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

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

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=20170421150820.18199-4-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.