]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfcf6c3fe9a76cabad6644512401298865b357b10
treea75528c10251c1cdc83d3b751eed2c82887d5538
parentfb1f37cae38e33cc1a7ca9fba274da693fe40be8
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