]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitcec2e216f72c6b5ccdadb60aadbe99821d744503
tree3868257e68abe81e4ca071290cca2c3e8ee507e2
parent3a96dff0f828ae9dfb43efd49a9b67a74c6dc360
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