diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-10-04 20:30:03 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-10-05 12:38:19 +0100 |
commit | 641f7f2195735b4fe93b541ea3a792fe4fee2415 (patch) | |
tree | 672520fb0731a07ef5f65666dc25aec78e28b302 /sound | |
parent | 7e29317928bd79a03a9c35816afa709988b5d31b (diff) | |
download | linux-stable-641f7f2195735b4fe93b541ea3a792fe4fee2415.tar.gz linux-stable-641f7f2195735b4fe93b541ea3a792fe4fee2415.tar.bz2 linux-stable-641f7f2195735b4fe93b541ea3a792fe4fee2415.zip |
ASoC: pcm186x: Use the standard fall-through annotation
As a preparatory patch for the upcoming -Wimplicit-fallthrough
compiler checks, replace with the standard "fall through" annotation.
Unfortunately gcc doesn't understand the mixed comment lines.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/pcm186x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/pcm186x.c b/sound/soc/codecs/pcm186x.c index 690c26e7389e..809b7e9f03ca 100644 --- a/sound/soc/codecs/pcm186x.c +++ b/sound/soc/codecs/pcm186x.c @@ -401,7 +401,8 @@ static int pcm186x_set_fmt(struct snd_soc_dai *dai, unsigned int format) break; case SND_SOC_DAIFMT_DSP_A: priv->tdm_offset += 1; - /* Fall through... DSP_A uses the same basic config as DSP_B + /* fall through */ + /* DSP_A uses the same basic config as DSP_B * except we need to shift the TDM output by one BCK cycle */ case SND_SOC_DAIFMT_DSP_B: |