Revert "mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status"
authorTony Lindgren <tony@atomide.com>
Wed, 7 Oct 2015 13:22:24 +0000 (06:22 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 8 Oct 2015 07:35:31 +0000 (09:35 +0200)
commitbb2726b52f2abdf46339a2d1293f76b5d5752705
treec478af8f8fa7fc22a947238d0616ca3303d1c5a4
parent049e6dde7e57f0054fdc49102e7ef4830c698b46
Revert "mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status"

This reverts commit c55d7a0553643a7e8f120688b82b594471084d3c.

Without reverting this commit we get "unbalanced disables for pbias_mmc_omap4"
errors on omap4430. It seems that 4430 and 4460 behave in a different way for
the PBIAS regulator registers and until that has been debugged further we
cannot rely on the regulator status registers in hardare on 4430.

Fixes: 7d607f917008 ("mmc: host: omap_hsmmc: use
devm_regulator_get_optional() for vmmc")
Cc: Felipe Balbi <balbi@ti.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c