mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 17:53:56 +08:00
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
@ -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 New Issue
Block a user