mmc: dw_mmc: Give a good reset after we give power
authorDoug Anderson <dianders@chromium.org>
Fri, 20 Feb 2015 18:57:19 +0000 (10:57 -0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Mar 2015 13:13:30 +0000 (14:13 +0100)
commitd1f1dd86006c668aea2014b524b0d5e7bec3edca
treeb3bf5d52ee630b458ae28c8caf3616b7bc2d26aa
parent655babbde6fdbd5a4a4072b7cdd8b1fb1a23db24
mmc: dw_mmc: Give a good reset after we give power

We should give dw_mmc a good reset after we apply power.  On some
boards vqmmc may actually be connected to the IP block in the SoC so
it's good to reset after power comes in.

Without this we sometimes see failures enumerating cards on rk3288.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c