mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
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>
This commit is contained in:
parent
09fc38c1af
commit
402954f8e5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user