ASoC: adau1761: Use the standard fall-through annotation
authorTakashi Iwai <tiwai@suse.de>
Thu, 4 Oct 2018 18:30:02 +0000 (20:30 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 5 Oct 2018 11:38:18 +0000 (12:38 +0100)
As a preparatory patch for the upcoming -Wimplicit-fallthrough
compiler checks, replace with the standard "fall through" annotation
at the right place.  It has to be put right before the next label.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/adau1761.c

index be136e9816533fd5da7d66d5a383ac13f5866556..bef3e9e74c26a88899944fffbeed8f898556dd94 100644 (file)
@@ -518,7 +518,8 @@ static int adau1761_setup_digmic_jackdetect(struct snd_soc_component *component)
                        ARRAY_SIZE(adau1761_jack_detect_controls));
                if (ret)
                        return ret;
-       case ADAU1761_DIGMIC_JACKDET_PIN_MODE_NONE: /* fallthrough */
+               /* fall through */
+       case ADAU1761_DIGMIC_JACKDET_PIN_MODE_NONE:
                ret = snd_soc_dapm_add_routes(dapm, adau1761_no_dmic_routes,
                        ARRAY_SIZE(adau1761_no_dmic_routes));
                if (ret)