summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-11-08 14:04:22 -0600
committerMark Brown <broonie@kernel.org>2017-11-08 21:28:15 +0000
commit402954f8e573e4b610da6858b8431d4edfd754c8 (patch)
tree0d6c221cc3f7ee4bb541ab5f644fb121fe9bc03c /sound
parent09fc38c1af4cb888255e9ecf267bf9757c12885d (diff)
downloadop-kernel-dev-402954f8e573e4b610da6858b8431d4edfd754c8.zip
op-kernel-dev-402954f8e573e4b610da6858b8431d4edfd754c8.tar.gz
ASoC: tpa6130a2: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 115164 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/tpa6130a2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c
index 2e014c8..616cd4b 100644
--- a/sound/soc/codecs/tpa6130a2.c
+++ b/sound/soc/codecs/tpa6130a2.c
@@ -274,6 +274,7 @@ static int tpa6130a2_probe(struct i2c_client *client,
default:
dev_warn(dev, "Unknown TPA model (%d). Assuming 6130A2\n",
data->id);
+ /* fall through */
case TPA6130A2:
regulator = "Vdd";
break;
OpenPOWER on IntegriCloud