Commit 2061594c authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Ulf Hansson

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: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 23f3ff72
...@@ -526,6 +526,7 @@ static bool xenon_emmc_phy_slow_mode(struct sdhci_host *host, ...@@ -526,6 +526,7 @@ static bool xenon_emmc_phy_slow_mode(struct sdhci_host *host,
ret = true; ret = true;
break; break;
} }
/* else: fall through */
default: default:
reg &= ~XENON_TIMING_ADJUST_SLOW_MODE; reg &= ~XENON_TIMING_ADJUST_SLOW_MODE;
ret = false; ret = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment