diff options
author | Chris Ball <cjb@laptop.org> | 2012-09-19 16:27:04 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-10-07 23:41:43 +0200 |
commit | 9cde5b7a49a88939d648c361ec938fa8a633a045 (patch) | |
tree | c51a30ca2a4d86923b6ff0743e70fb6ef22a5f2e /drivers/mmc/host | |
parent | mmc: sdhci-pxav3: Use sdhci_get_of_property for parsing DT quirks (diff) | |
download | linux-9cde5b7a49a88939d648c361ec938fa8a633a045.tar.xz linux-9cde5b7a49a88939d648c361ec938fa8a633a045.zip |
mmc: core: Replace MMC_CAP2_BROKEN_VOLTAGE with test for fixed regulator
Before this patch, we were using MMC_CAP2_BROKEN_VOLTAGE as a way to
avoid calling regulator_set_voltage() on a fixed regulator, but that's
just duplicating information that already exists -- we should test
whether the regulator is fixed directly, instead of via a capability.
This patch implements that test. We can't reclaim the capability bit
just yet, since there are still boards in arch/arm/ that reference it;
those references can be removed now.
Reported-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host')
0 files changed, 0 insertions, 0 deletions