diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-10-04 20:30:02 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-10-05 13:38:18 +0200 |
commit | 7e29317928bd79a03a9c35816afa709988b5d31b (patch) | |
tree | 07884300eae3902b7f1036ec084d803c9fc0ca85 /sound/soc | |
parent | ASoC: ts3a227e: fix a typo in documentation (diff) | |
download | linux-7e29317928bd79a03a9c35816afa709988b5d31b.tar.xz linux-7e29317928bd79a03a9c35816afa709988b5d31b.zip |
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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/adau1761.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/adau1761.c b/sound/soc/codecs/adau1761.c index be136e981653..bef3e9e74c26 100644 --- a/sound/soc/codecs/adau1761.c +++ b/sound/soc/codecs/adau1761.c @@ -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) |