mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
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>
This commit is contained in:
parent
23f3ff72bc
commit
2061594c61
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue