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)
commit45fa2038cf7820ecfcca8793b81e656ca3caaf0f
tree76dcb0bb07a81b3a58b98d75c170e8d1a781bfb7
parentfa93fd4ecc9c58475abac6db93a797bff893bc16
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