Thread (10 messages) 10 messages, 3 authors, 2013-02-01
STALE4920d
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 0/3] Fix fixed regulators support

From: Marek Szyprowski <m.szyprowski@samsung.com>
Date: 2012-12-04 14:01:29
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help