]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4f563dd493386154c31e25ef93b1fe7e63a515a
treeaa7bba210472d7b071071b1f1c4619a647f1f1ac
parentd98ef19ed6f6c9ab067e85afdf847eba3d64338b
mmc: core: Put eMMC in Sleep mode before suspend

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>
drivers/mmc/core/mmc.c