]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Use regulator min/max voltage range according to spec
authorKevin Liu <kliu5@marvell.com>
Tue, 20 Nov 2012 13:24:32 +0000 (08:24 -0500)
committerChris Ball <cjb@laptop.org>
Thu, 6 Dec 2012 18:54:50 +0000 (13:54 -0500)
commitc7cbbe345406e99863acec64f5eff0ca1e801160
tree3868257e68abe81e4ca071290cca2c3e8ee507e2
parentfc37cbe8cbb4c9b9ea567f8777ffacc4b211276f
mmc: sdhci: Use regulator min/max voltage range according to spec

For regulator vmmc/vmmcq, use voltage range as below
3.3v/3.0v: (2.7v, 3.6v)
1.8v: (1.7v, 1.95v)
Original code uses the precise value which may fail in regulator
driver if it does NOT support the precise voltage.

Signed-off-by: Jialing Fu <jlfu@marvell.com>
Signed-off-by: Kevin Liu <kliu5@marvell.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c