diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-04 00:56:59 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-07-16 11:21:45 +0200 |
commit | 2061594c612c4535b14bcd062a5bcf308bdd2b98 (patch) | |
tree | 11a2053ef1f3f3cb9376190fedce7d2f6761de90 /drivers/mmc/host/sdhci-xenon-phy.c | |
parent | mmc: pxamci: provide a short-hand for &pdev->dev (diff) | |
download | linux-2061594c612c4535b14bcd062a5bcf308bdd2b98.tar.xz linux-2061594c612c4535b14bcd062a5bcf308bdd2b98.zip |
mmc: sdhci-xenon: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Warning level 2 was used: -Wimplicit-fallthrough=2
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-xenon-phy.c')
-rw-r--r-- | drivers/mmc/host/sdhci-xenon-phy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-xenon-phy.c b/drivers/mmc/host/sdhci-xenon-phy.c index a35804b203a7..c335052d0c02 100644 --- a/drivers/mmc/host/sdhci-xenon-phy.c +++ b/drivers/mmc/host/sdhci-xenon-phy.c @@ -526,6 +526,7 @@ static bool xenon_emmc_phy_slow_mode(struct sdhci_host *host, ret = true; break; } + /* else: fall through */ default: reg &= ~XENON_TIMING_ADJUST_SLOW_MODE; ret = false; |