diff options
author | Gustavo A. R. Silva | 2017-11-08 14:04:22 -0600 |
---|---|---|
committer | Mark Brown | 2017-11-08 21:28:15 +0000 |
commit | 402954f8e573e4b610da6858b8431d4edfd754c8 (patch) | |
tree | 0d6c221cc3f7ee4bb541ab5f644fb121fe9bc03c /sound/soc | |
parent | 09fc38c1af4cb888255e9ecf267bf9757c12885d (diff) |
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/soc')
-rw-r--r-- | sound/soc/codecs/tpa6130a2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c index 2e014c80d113..616cd4bebd01 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; |