From: Gustavo A. R. Silva Date: Mon, 2 Jul 2018 12:17:07 +0000 (-0500) Subject: ASoC: pxa-ssp: mark expected switch fall-through X-Git-Tag: v5.15~7441^2~18^2~429 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0431de301cbb8e3915261dfff4d0b072738de69;p=platform%2Fkernel%2Flinux-starfive.git ASoC: pxa-ssp: mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva Signed-off-by: Mark Brown --- diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index f8339bb0..ff1e0bd 100644 --- a/sound/soc/pxa/pxa-ssp.c +++ b/sound/soc/pxa/pxa-ssp.c @@ -470,6 +470,7 @@ static int pxa_ssp_configure_dai_fmt(struct ssp_priv *priv) case SND_SOC_DAIFMT_DSP_A: sspsp |= SSPSP_FSRT; + /* fall through */ case SND_SOC_DAIFMT_DSP_B: sscr0 |= SSCR0_MOD | SSCR0_PSP; sscr1 |= SSCR1_TRAIL | SSCR1_RWOT;