]> 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)
commit05358d096ed05d33202fcd57742b2b8f33cb9fce
tree3868257e68abe81e4ca071290cca2c3e8ee507e2
parent9acb1cb627a2034587ca9126b188c60cb2c43343
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