mmc: sdhci: fix vmmc handling
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 27 Dec 2011 13:48:41 +0000 (15:48 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 12 Jan 2012 04:58:47 +0000 (23:58 -0500)
commitceb6143b2df81c8a554bd5de898087926568cc51
treed424e582d5d8ea0e350a30e0c4516345b86950ce
parent17e9ff559a7dbb7a6df332007d2ffcd3e7d83fba
mmc: sdhci: fix vmmc handling

Presently the vmmc regulator is enabled when the host
controller is added and disabled when it is removed.
However, the vmmc regulator should be under the control
of the upper layers via ->set_ios().  Make it so.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c