]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: codecs: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:23:50 +0000 (12:23 -0600)
committerMark Brown <broonie@kernel.org>
Fri, 20 Nov 2020 19:28:34 +0000 (19:28 +0000)
commita0a4ccc9a27df6414ee62706658e20cf4e326fe1
tree2a82019d7bf465be0d3169d22e9b905c136fdf79
parent40f8dc6f7e02f664a36b04c042d9d49aa225fd57
ASoC: codecs: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple break statements instead of just
letting the code fall through, and also add fallthrough pseudo-keywords
in places where the code is intended to fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/d17b4d8300dbb6aff0d055b06b487c96ca264757.1605896059.git.gustavoars@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/adav80x.c
sound/soc/codecs/arizona.c
sound/soc/codecs/cs42l52.c
sound/soc/codecs/cs42l56.c
sound/soc/codecs/cs47l92.c
sound/soc/codecs/wm8962.c