diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2020-07-13 13:18:30 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-07-13 13:18:30 +0300 |
commit | c624b49a40ae82076c72bf498560e55554a6b508 (patch) | |
tree | 944b5bbdde592fa53205a8a9c019c05c1fedc5f2 /drivers/mmc | |
parent | 3debc24f7fe637ebefbaa3d37aeecb33a69bde11 (diff) | |
parent | ebd4050c6144b38098d8eed34df461e5e3fa82a9 (diff) | |
download | linux-c624b49a40ae82076c72bf498560e55554a6b508.tar.xz |
Merge branch 'fixes' into next
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-of-aspeed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-of-aspeed.c b/drivers/mmc/host/sdhci-of-aspeed.c index 56912e30c47e..a1bcc0f4ba9e 100644 --- a/drivers/mmc/host/sdhci-of-aspeed.c +++ b/drivers/mmc/host/sdhci-of-aspeed.c @@ -68,7 +68,7 @@ static void aspeed_sdhci_set_clock(struct sdhci_host *host, unsigned int clock) if (WARN_ON(clock > host->max_clk)) clock = host->max_clk; - for (div = 1; div < 256; div *= 2) { + for (div = 2; div < 256; div *= 2) { if ((parent / div) <= clock) break; } |