mirror of https://gitee.com/openkylin/linux.git
ASoC: adau1761: Use the standard fall-through annotation
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>
This commit is contained in:
parent
757b1aa002
commit
7e29317928
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue