omap_hsmmc: consider MMC_PM_KEEP_POWER on suspend/resume
authorEliad Peller <eliad@wizery.com>
Tue, 22 Nov 2011 14:02:17 +0000 (16:02 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 9 Dec 2011 00:24:09 +0000 (16:24 -0800)
commit31f9d4635bde3f03bc6dbac01d4c0fb0da9d06d7
treebebd0a1b33b667cd242c1b33b6eff13e1a87f83c
parent5611cc4572e889b62a7b4c72a413536bf6a9c416
omap_hsmmc: consider MMC_PM_KEEP_POWER on suspend/resume

When an mmc card has the MMC_PM_KEEP_POWER flag, it shouldn't
be powered off on suspend (and thus doesn't have to be powered-on
on resume)

While on it, change the suspend flow a bit, to make it a bit
easier to follow.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Acked-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/host/omap_hsmmc.c