summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-10-03 06:38:36 -0400
committerTakashi Iwai <tiwai@suse.de>2018-10-03 11:42:55 -0400
commit2e75b676c3284930489a968d33b75e5d2b2c36c6 (patch)
treec4f1c2b3e251b69f0049214f6425bf01d8583ccc
parentfe1a10bab242ef0184fdaea6d63905e5f49b6041 (diff)
ALSA: intel8x0: Fix fall-through annotations
Replace "fallthru" with a proper "fall through" annotation. This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/intel8x0.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c
index 9517f9b8f1d4..ffddcdfe0c66 100644
--- a/sound/pci/intel8x0.c
+++ b/sound/pci/intel8x0.c
@@ -825,7 +825,7 @@ static int snd_intel8x0_pcm_trigger(struct snd_pcm_substream *substream, int cmd
825 switch (cmd) { 825 switch (cmd) {
826 case SNDRV_PCM_TRIGGER_RESUME: 826 case SNDRV_PCM_TRIGGER_RESUME:
827 ichdev->suspended = 0; 827 ichdev->suspended = 0;
828 /* fallthru */ 828 /* fall through */
829 case SNDRV_PCM_TRIGGER_START: 829 case SNDRV_PCM_TRIGGER_START:
830 case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: 830 case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
831 val = ICH_IOCE | ICH_STARTBM; 831 val = ICH_IOCE | ICH_STARTBM;
@@ -833,7 +833,7 @@ static int snd_intel8x0_pcm_trigger(struct snd_pcm_substream *substream, int cmd
833 break; 833 break;
834 case SNDRV_PCM_TRIGGER_SUSPEND: 834 case SNDRV_PCM_TRIGGER_SUSPEND:
835 ichdev->suspended = 1; 835 ichdev->suspended = 1;
836 /* fallthru */ 836 /* fall through */
837 case SNDRV_PCM_TRIGGER_STOP: 837 case SNDRV_PCM_TRIGGER_STOP:
838 val = 0; 838 val = 0;
839 break; 839 break;
@@ -867,7 +867,7 @@ static int snd_intel8x0_ali_trigger(struct snd_pcm_substream *substream, int cmd
867 switch (cmd) { 867 switch (cmd) {
868 case SNDRV_PCM_TRIGGER_RESUME: 868 case SNDRV_PCM_TRIGGER_RESUME:
869 ichdev->suspended = 0; 869 ichdev->suspended = 0;
870 /* fallthru */ 870 /* fall through */
871 case SNDRV_PCM_TRIGGER_START: 871 case SNDRV_PCM_TRIGGER_START:
872 case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: 872 case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
873 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 873 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
@@ -884,7 +884,7 @@ static int snd_intel8x0_ali_trigger(struct snd_pcm_substream *substream, int cmd
884 break; 884 break;
885 case SNDRV_PCM_TRIGGER_SUSPEND: 885 case SNDRV_PCM_TRIGGER_SUSPEND:
886 ichdev->suspended = 1; 886 ichdev->suspended = 1;
887 /* fallthru */ 887 /* fall through */
888 case SNDRV_PCM_TRIGGER_STOP: 888 case SNDRV_PCM_TRIGGER_STOP:
889 case SNDRV_PCM_TRIGGER_PAUSE_PUSH: 889 case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
890 /* pause */ 890 /* pause */