未验证 提交 402954f8 编写于 作者: G Gustavo A. R. Silva 提交者: Mark Brown

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: NGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 09fc38c1
...@@ -274,6 +274,7 @@ static int tpa6130a2_probe(struct i2c_client *client, ...@@ -274,6 +274,7 @@ static int tpa6130a2_probe(struct i2c_client *client,
default: default:
dev_warn(dev, "Unknown TPA model (%d). Assuming 6130A2\n", dev_warn(dev, "Unknown TPA model (%d). Assuming 6130A2\n",
data->id); data->id);
/* fall through */
case TPA6130A2: case TPA6130A2:
regulator = "Vdd"; regulator = "Vdd";
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册