]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP: mmc_twl4030 nicely disable vmmc_aux
authorAdrian Hunter <adrian.hunter@nokia.com>
Tue, 24 Mar 2009 12:15:54 +0000 (12:15 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 25 Mar 2009 00:29:25 +0000 (17:29 -0700)
commit0268abf95f935c2fe45f778b2a223685e68c7823
tree3cb02be8b8af253d2c0c5b2d34319892597f6050
parented39a47fbc83f2c0d82aaadca7dec9fe8f061f83
OMAP: mmc_twl4030 nicely disable vmmc_aux

The MMC driver turns the power off before it turns it
on. To avoid regulator warnings, vmmc_aux must only be
disabled if it has previously been enabled.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mmc-twl4030.c