Skip to content

Commit 8f80f37

Browse files
morimototiwai
authored andcommitted
ALSA: tidyup SNDRV_PCM_TRIGGER_xxx numbering
pcm.h has SNDRV_PCM_TRIGGER_xxx, but it is missing "2". Fixup it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87ed3gsziy.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent eab936a commit 8f80f37

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/sound/pcm.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ struct snd_pcm_ops {
9797

9898
#define SNDRV_PCM_TRIGGER_STOP 0
9999
#define SNDRV_PCM_TRIGGER_START 1
100-
#define SNDRV_PCM_TRIGGER_PAUSE_PUSH 3
101-
#define SNDRV_PCM_TRIGGER_PAUSE_RELEASE 4
102-
#define SNDRV_PCM_TRIGGER_SUSPEND 5
103-
#define SNDRV_PCM_TRIGGER_RESUME 6
104-
#define SNDRV_PCM_TRIGGER_DRAIN 7
100+
#define SNDRV_PCM_TRIGGER_PAUSE_PUSH 2
101+
#define SNDRV_PCM_TRIGGER_PAUSE_RELEASE 3
102+
#define SNDRV_PCM_TRIGGER_SUSPEND 4
103+
#define SNDRV_PCM_TRIGGER_RESUME 5
104+
#define SNDRV_PCM_TRIGGER_DRAIN 6
105105

106106
#define SNDRV_PCM_POS_XRUN ((snd_pcm_uframes_t)-1)
107107

0 commit comments

Comments
 (0)