]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: of: Don't flag voltage change as possible for exact voltages
authorMark Brown <broonie@kernel.org>
Wed, 30 Mar 2016 15:26:09 +0000 (08:26 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 30 Mar 2016 15:26:09 +0000 (08:26 -0700)
commit3fb100cd3e5201ff0c31a2a14a0ade059ccd4e12
tree76dcb0bb07a81b3a58b98d75c170e8d1a781bfb7
parenta6c16492efdea2e242f3d3e44e0278da9eb32bf8
regulator: of: Don't flag voltage change as possible for exact voltages

Flagging voltage changes as possible for exactly specified voltages
appears to be triggering bugs in the SDHCI code (it should be able to
handle the case where only one voltage it wants is in the range it is
allowed to set) so make sure we only set the flag in cases where there's
genuine variability.

Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/of_regulator.c