]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 26 Nov 2012 00:43:54 +0000 (19:43 -0500)
commit6e3fd0663f19ef62ed63dbd6e871e036d6db5682
tree8a1721d2ad01f5d005f2d80095fb64ee22ec9011
parenta8083a8ce1f5db92f44d4a4f7bf9d6d377056180
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