aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-02-12 09:25:58 -0600
committerUlf Hansson <ulf.hansson@linaro.org>2019-02-25 08:40:58 +0100
commite9d6a371cff3bb9bef8ad96fe576d62346c7e104 (patch)
treea9cd292fc5eed9db599e0fa4da17a601813de3a7 /drivers/mmc
parentmmc: sdhci-tegra: drop ->get_ro() implementation (diff)
downloadlinux-dev-e9d6a371cff3bb9bef8ad96fe576d62346c7e104.tar.xz
linux-dev-e9d6a371cff3bb9bef8ad96fe576d62346c7e104.zip
mmc: sdhci-xenon: Fixup already marked switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases according to what the compiler looks for, where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-xenon-phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-xenon-phy.c b/drivers/mmc/host/sdhci-xenon-phy.c
index 5b5eb53a63d2..8d07ee1b8f08 100644
--- a/drivers/mmc/host/sdhci-xenon-phy.c
+++ b/drivers/mmc/host/sdhci-xenon-phy.c
@@ -530,7 +530,7 @@ static bool xenon_emmc_phy_slow_mode(struct sdhci_host *host,
ret = true;
break;
}
- /* else: fall through */
+ /* fall through */
default:
reg &= ~XENON_TIMING_ADJUST_SLOW_MODE;
ret = false;