mmc: sdhci-of-arasan: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:37:13 +0000 (12:37 -0600)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Nov 2020 14:14:33 +0000 (15:14 +0100)
commita3096ec649ea77a921d7612f71aa926d822641f5
tree2b43cba7b038435f504ba2516d776c008baeaf07
parent0f1d9961d64faf819f79c471b74e53c63c9209fc
mmc: sdhci-of-arasan: 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
letting the code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/387cab3a466038aa5d1fc34b8b6a7c4f693826ea.1605896060.git.gustavoars@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-arasan.c