[PATCH v2 0/3] Fix fixed regulators support
From: Marek Szyprowski
Date: Tue Dec 04 2012 - 09:01:15 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/