summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-08-03 11:28:24 -0500
committerMark Brown <broonie@kernel.org>2018-08-03 17:42:28 +0100
commit3b7c88fcc2873eba64f9e8cef34c4af0cba20887 (patch)
tree773fc0a186c6ccf07b808a2230809c5da01c5e9f /sound
parent8530ebf1079ccc84ffa32d970cdcae168b2f3684 (diff)
downloadlinux-3b7c88fcc2873eba64f9e8cef34c4af0cba20887.tar.gz
linux-3b7c88fcc2873eba64f9e8cef34c4af0cba20887.tar.bz2
linux-3b7c88fcc2873eba64f9e8cef34c4af0cba20887.zip
ASoC: davinci-i2s: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1364478 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/davinci/davinci-i2s.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/davinci/davinci-i2s.c b/sound/soc/davinci/davinci-i2s.c
index 807040bb3921..a3206e65e5e5 100644
--- a/sound/soc/davinci/davinci-i2s.c
+++ b/sound/soc/davinci/davinci-i2s.c
@@ -340,6 +340,7 @@ static int davinci_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai,
* rate is lowered.
*/
inv_fs = true;
+ /* fall through */
case SND_SOC_DAIFMT_DSP_A:
dev->mode = MOD_DSP_A;
break;