summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-10-04 20:30:02 +0200
committerMark Brown <broonie@kernel.org>2018-10-05 12:38:18 +0100
commit7e29317928bd79a03a9c35816afa709988b5d31b (patch)
tree07884300eae3902b7f1036ec084d803c9fc0ca85 /sound
parent757b1aa00259a44f94bd120b9637720b9aaf36eb (diff)
downloadlinux-7e29317928bd79a03a9c35816afa709988b5d31b.tar.gz
linux-7e29317928bd79a03a9c35816afa709988b5d31b.tar.bz2
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')
-rw-r--r--sound/soc/codecs/adau1761.c3
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)