Messages in this thread | | | From | Marek Szyprowski <> | Subject | [PATCH v2 0/3] Fix fixed regulators support | Date | Tue, 04 Dec 2012 15:01:00 +0100 |
| |
Hello,
Commit f0f98b19e23d4426ca185e3d4ca80e6aff5ef51b revealed that the support for fixed regulators in SDHCI driver was working only by pure luck. My previous patch set for fixing this issue resulted in a discussion, which has been concluded that this issue should by fixed by extending regulators core by regualtor_can_change_voltage() function and using it in the mmc/sdhci drivers.
For more information, please refer to the following threads: http://thread.gmane.org/gmane.linux.kernel.mmc/17643 https://patchwork.kernel.org/patch/1739061/
Best regards Marek Szyprowski Samsung Poland R&D Center
Patch summary:
Marek Szyprowski (3): regulators: add regulator_can_change_voltage() function mmc: use regulator_can_change_voltage() instead of regulator_count_voltages() hacks mmc: sdhci: check voltage range only on regulators aware of voltage value
drivers/mmc/core/core.c | 2 +- drivers/mmc/host/sdhci.c | 6 +++++- drivers/regulator/core.c | 22 ++++++++++++++++++++++ include/linux/regulator/consumer.h | 1 + 4 files changed, 29 insertions(+), 2 deletions(-)
-- 1.7.9.5
| |