mmc: core: Put eMMC in Sleep mode before suspend
authorBalaji T K <balajitk@ti.com>
Thu, 8 Sep 2011 16:38:39 +0000 (22:08 +0530)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 19:43:42 +0000 (15:43 -0400)
Put MMC to sleep if it supports SLEEP/AWAKE (CMD5) in the mmc suspend
so that Vcc (NAND core) can be cut to minimize power consumption.
eMMC put into SLEEP can respond to CMD0 or H/W reset or CMD5.
Current implemention on resume from suspend relies on CMD0 in
mmc_init_card to get out of SLEEP mode.

Signed-off-by: Balaji T K <balajitk@ti.com>
Acked-by: Venkatraman S <svenkatr@ti.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found