Commit 3eb7dbc6 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Mark Brown

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: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 85e7e770
...@@ -839,6 +839,7 @@ static int wm8960_hw_params(struct snd_pcm_substream *substream, ...@@ -839,6 +839,7 @@ static int wm8960_hw_params(struct snd_pcm_substream *substream,
iface |= 0x000c; iface |= 0x000c;
break; break;
} }
/* fall through */
default: default:
dev_err(component->dev, "unsupported width %d\n", dev_err(component->dev, "unsupported width %d\n",
params_width(params)); params_width(params));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment