ASoC: samsung: i2s: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 1381093 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
a773c3b6be
commit
5019027a56
1 changed files with 1 additions and 0 deletions
|
@ -710,6 +710,7 @@ static int i2s_hw_params(struct snd_pcm_substream *substream,
|
|||
switch (params_channels(params)) {
|
||||
case 6:
|
||||
val |= MOD_DC2_EN;
|
||||
/* fall through */
|
||||
case 4:
|
||||
val |= MOD_DC1_EN;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue