ASoC: core: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 146568 ("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:
committed by
Mark Brown
parent
85c81941d5
commit
1a12d5dc7d
@@ -528,6 +528,7 @@ int snd_soc_suspend(struct device *dev)
|
|||||||
"ASoC: idle_bias_off CODEC on over suspend\n");
|
"ASoC: idle_bias_off CODEC on over suspend\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
/* fall through */
|
||||||
|
|
||||||
case SND_SOC_BIAS_OFF:
|
case SND_SOC_BIAS_OFF:
|
||||||
if (component->driver->suspend)
|
if (component->driver->suspend)
|
||||||
|
|||||||
Reference in New Issue
Block a user