mmc: sdhci: Avoid power on/off during sleep
authorPavan Kunapuli <pkunapuli@nvidia.com>
Tue, 10 Jul 2012 13:27:25 +0000 (18:27 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Tue, 31 Jul 2012 10:35:29 +0000 (03:35 -0700)
commitee2367b525e8c1c5036d170bcba1798abd0ca9c7
treeb685899e46f9f719c8005d1bd03850db03bc1e6e
parent830b927faaf4236217f42c9e1f22d9147869c30b
mmc: sdhci: Avoid power on/off during sleep

If eMMC sleep support is enabled, set MMC_PM_KEEP_POWER
to avoid host power off and power on. Instead, restore
the host context in resume.

Bug 1007644
Bug 936069

Change-Id: I74578bb1f9e297b3af6bd79b9215364334984836
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/118913
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/mmc/host/sdhci.c