ASoC: intel: skylake: Add fall-through annotation
authorTakashi Iwai <tiwai@suse.de>
Thu, 4 Oct 2018 18:30:05 +0000 (20:30 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 5 Oct 2018 11:38:21 +0000 (12:38 +0100)
As a preparatory patch for the upcoming -Wimplicit-fallthrough
compiler checks, add the "fall through" annotation in Intel SST
skylake driver.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-pcm.c

index 00b7a91b18c9a5f8dc9d37fa5d19c23d97dfc6cf..557f80c0bfe5307e4ceb842c1d22707180485d95 100644 (file)
@@ -495,6 +495,7 @@ static int skl_pcm_trigger(struct snd_pcm_substream *substream, int cmd,
                                                        stream->lpib);
                        snd_hdac_ext_stream_set_lpib(stream, stream->lpib);
                }
+               /* fall through */
 
        case SNDRV_PCM_TRIGGER_START:
        case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: