summaryrefslogtreecommitdiff
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-08-03 11:34:30 -0500
committerMark Brown <broonie@kernel.org>2018-08-03 17:42:36 +0100
commit1a12d5dc7dd1ffd985503f9770b736fb03db2e3f (patch)
tree170fb98863c67deba400e950bdc589ca5b1ed179 /sound/soc/soc-core.c
parent85c81941d5033fc8a68646823d3157840c9de8b3 (diff)
downloadlwn-1a12d5dc7dd1ffd985503f9770b736fb03db2e3f.tar.gz
lwn-1a12d5dc7dd1ffd985503f9770b736fb03db2e3f.zip
ASoC: core: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 146568 ("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/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 82eb3868be67..9cfe10d8040c 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -528,6 +528,7 @@ int snd_soc_suspend(struct device *dev)
"ASoC: idle_bias_off CODEC on over suspend\n");
break;
}
+ /* fall through */
case SND_SOC_BIAS_OFF:
if (component->driver->suspend)