mmc: sdhci: When a UHS switch fails, cycle power if regulator is used
authorPhilip Rakity <prakity@marvell.com>
Wed, 27 Jun 2012 16:15:00 +0000 (09:15 -0700)
committerChris Ball <cjb@laptop.org>
Sun, 22 Jul 2012 19:25:51 +0000 (15:25 -0400)
commit38cfc2f71cec9508bdd3a11e576738c2182418d0
tree6ab1b3e57109327035547711136b568fae061b4b
parent8a4de07e05e7bedc894c2de3b3b04673d6d840ec
mmc: sdhci: When a UHS switch fails, cycle power if regulator is used

Power needs to be removed from the card when switching to 1.8v fails.

If a regulator is used to control vmmc we need to turn the
regulator off and then back on otherwise power will not be
removed from the card.

Signed-off-by: Philip Rakity <prakity@marvell.com>
Reviewed-by: Aaron Lu <aaron.lu@amd.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c