]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ASoC: pcm186x: Use the standard fall-through annotation
authorTakashi Iwai <tiwai@suse.de>
Thu, 4 Oct 2018 18:30:03 +0000 (20:30 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 5 Oct 2018 11:38:19 +0000 (12:38 +0100)
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>
sound/soc/codecs/pcm186x.c

index 690c26e7389e527567169464f47461b6a2f60e07..809b7e9f03ca6fcfdeb7abdb604ea15bf4e09a8a 100644 (file)
@@ -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: