lkml.org 
[lkml]   [2012]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] Fix fixed regulators support
Date
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



\
 
 \ /
  Last update: 2012-12-05 10:21    [W:0.184 / U:2.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site