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)
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>

No differences found