Skip to contentSkip to conversation

pcm: Fix a typo in SND_PCM_AUDIO_TSTAMP_TYPE_LAST definition

PATCH New Takashi Iwai 1 participant 1 message Dec 22, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pcm: Fix a typo in SND_PCM_AUDIO_TSTAMP_TYPE_LAST definition

It was wrongly defined with SNDRV_ prefix. Fix it.

Fixes ea02dbd20a53 ("pcm: Add snd_pcm_audio_tstamp_type_t constants")
---
 include/pcm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/pcm.h +1 -1
index cf1eea8bbc9b..e300b951c076 100644
@@ -361,7 +361,7 @@ typedef enum _snd_pcm_audio_tstamp_type {
 	SND_PCM_AUDIO_TSTAMP_TYPE_LINK_ABSOLUTE = 3,	   /**< link time reported by sample or wallclock counter, not reset on startup */
 	SND_PCM_AUDIO_TSTAMP_TYPE_LINK_ESTIMATED = 4,    /**< link time estimated indirectly */
 	SND_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED = 5, /**< link time synchronized with system time */
-	SND_PCM_AUDIO_TSTAMP_TYPE_LAST = SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED
+	SND_PCM_AUDIO_TSTAMP_TYPE_LAST = SND_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED
 } snd_pcm_audio_tstamp_type_t;
 
 typedef struct _snd_pcm_audio_tstamp_config {
Signature · 1 line
2.26.2