diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-02 14:17:07 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-03 17:14:27 +0200 |
commit | e0431de301cbb8e3915261dfff4d0b072738de69 (patch) | |
tree | 84c8a0ac6741e0aee00fe26f1b3cf419b66e5456 /sound/soc | |
parent | ASoC: es7241: add es7241 codec support (diff) | |
download | linux-e0431de301cbb8e3915261dfff4d0b072738de69.tar.xz linux-e0431de301cbb8e3915261dfff4d0b072738de69.zip |
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 <gustavo@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/pxa/pxa-ssp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index f8339bb01251..ff1e0bd8d407 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; |