mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-17 22:05:08 +00:00
ASoC: wm8960: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 115041 ("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
85e7e77079
commit
3eb7dbc6d8
@ -839,6 +839,7 @@ static int wm8960_hw_params(struct snd_pcm_substream *substream,
|
||||
iface |= 0x000c;
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
default:
|
||||
dev_err(component->dev, "unsupported width %d\n",
|
||||
params_width(params));
|
||||
|
Loading…
x
Reference in New Issue
Block a user