]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3ae7361c9e421c0d2248549600c77ea4bf2592d
treec478af8f8fa7fc22a947238d0616ca3303d1c5a4
parentf45d154a7e5fca594e01c3f4b3b1dfaab025bdc7
Revert "mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status"

This reverts commit 0627ba06b9b8a4c824639e189f613b84fcc46209.

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: 7968b831b031 ("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