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>
This commit is contained in:
parent
5f7bdc466c
commit
e0431de301
|
@ -470,6 +470,7 @@ static int pxa_ssp_configure_dai_fmt(struct ssp_priv *priv)
|
||||||
|
|
||||||
case SND_SOC_DAIFMT_DSP_A:
|
case SND_SOC_DAIFMT_DSP_A:
|
||||||
sspsp |= SSPSP_FSRT;
|
sspsp |= SSPSP_FSRT;
|
||||||
|
/* fall through */
|
||||||
case SND_SOC_DAIFMT_DSP_B:
|
case SND_SOC_DAIFMT_DSP_B:
|
||||||
sscr0 |= SSCR0_MOD | SSCR0_PSP;
|
sscr0 |= SSCR0_MOD | SSCR0_PSP;
|
||||||
sscr1 |= SSCR1_TRAIL | SSCR1_RWOT;
|
sscr1 |= SSCR1_TRAIL | SSCR1_RWOT;
|
||||||
|
|
Loading…
Reference in New Issue