diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-09 03:03:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-09 23:20:31 +0200 |
commit | 3e146b55a4f5213b5da0f243813efb380fa7f84d (patch) | |
tree | ebab198955f76dc66581712f2ef32bfc88823451 /sound/soc/codecs/adau17x1.c | |
parent | ASoC: tlv320adcx140: Add tx offset slot programming (diff) | |
download | linux-3e146b55a4f5213b5da0f243813efb380fa7f84d.tar.xz linux-3e146b55a4f5213b5da0f243813efb380fa7f84d.zip |
ASoC: codecs: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1].
[1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20200709010359.GA18971@embeddedor
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/adau17x1.c')
-rw-r--r-- | sound/soc/codecs/adau17x1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/adau17x1.c b/sound/soc/codecs/adau17x1.c index b6352de077b5..30e072c80ac1 100644 --- a/sound/soc/codecs/adau17x1.c +++ b/sound/soc/codecs/adau17x1.c @@ -385,7 +385,7 @@ static int adau17x1_set_dai_sysclk(struct snd_soc_dai *dai, case ADAU17X1_CLK_SRC_PLL_AUTO: if (!adau->mclk) return -EINVAL; - /* Fall-through */ + fallthrough; case ADAU17X1_CLK_SRC_PLL: is_pll = true; break; @@ -469,7 +469,7 @@ static int adau17x1_hw_params(struct snd_pcm_substream *substream, ret = adau17x1_auto_pll(dai, params); if (ret) return ret; - /* Fall-through */ + fallthrough; case ADAU17X1_CLK_SRC_PLL: freq = adau->pll_freq; break; |