Skip to contentSkip to conversation

ASoC: pxa-ssp: mark expected switch fall-through

PATCH New Gustavo A. R. Silva 1 participant 1 message Jul 2, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: pxa-ssp: mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.

---
 sound/soc/pxa/pxa-ssp.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/pxa/pxa-ssp.c +1 -0
index 01d5469..65828d4 100644
@@ -533,6 +533,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;
Signature · 1 line
2.7.4