]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d56ac9d374c793fd175ab079651276e52c7dc14
treed424e582d5d8ea0e350a30e0c4516345b86950ce
parent63971d83383a4050a12c7f2ceea4ed46d7e3eb70
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