mmc: sunxi: Move the reset deassertion before enabling the clocks
authorMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 8 Mar 2018 14:52:52 +0000 (15:52 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 15 Mar 2018 13:43:23 +0000 (14:43 +0100)
commitd81819419b2be4eee6643681ce0366856a772ba9
treea75528c10251c1cdc83d3b751eed2c82887d5538
parent774c010350a16f44705971e8aff457580628c76e
mmc: sunxi: Move the reset deassertion before enabling the clocks

As per Allwinner guidelines, the reset line should be deasserted before
turning the clocks on.

Implement it in our driver as well.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sunxi-mmc.c