summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/pcm186x.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-10-04 20:30:03 +0200
committerMark Brown <broonie@kernel.org>2018-10-05 13:38:19 +0200
commit641f7f2195735b4fe93b541ea3a792fe4fee2415 (patch)
tree672520fb0731a07ef5f65666dc25aec78e28b302 /sound/soc/codecs/pcm186x.c
parentASoC: adau1761: Use the standard fall-through annotation (diff)
downloadlinux-641f7f2195735b4fe93b541ea3a792fe4fee2415.tar.xz
linux-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/soc/codecs/pcm186x.c')
-rw-r--r--sound/soc/codecs/pcm186x.c3
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: