mmc: sdhci-of-aspeed: Uphold clocks-on post-condition of set_clock()
authorAndrew Jeffery <andrew@aj.id.au>
Mon, 2 Sep 2019 03:58:41 +0000 (13:28 +0930)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 11 Sep 2019 13:58:39 +0000 (15:58 +0200)
commit7b954cdf33da3d3bd8046c499426b7433724f82e
tree7282e033f5081e7095e2327c886363240c832832
parentbf290432a4d7d79dff757110b8e6629cefdd4dad
mmc: sdhci-of-aspeed: Uphold clocks-on post-condition of set_clock()

The early-exit didn't seem to matter on the AST2500, but on the AST2600
the SD clock genuinely may not be running on entry to
aspeed_sdhci_set_clock(). Remove the early exit to ensure we always run
sdhci_enable_clk().

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-aspeed.c