mmc: core: Invent MMC_CAP2_FULL_PWR_CYCLE
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Jun 2013 15:03:46 +0000 (17:03 +0200)
committerlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 05:38:30 +0000 (13:38 +0800)
commit7f584c49c8e9619ebfe0c4b88a8cb851e9e8375d
tree3b1e21360a233a826f3c417fa081c86dc4954c24
parent72424f9a5333ab321d7711fdf5059d7d2e0d61a2
mmc: core: Invent MMC_CAP2_FULL_PWR_CYCLE

MMC_CAP2_FULL_PWR_CYCLE shall be set by host drivers which are able to
do a complete power cycle of the card. In the eMMC case that includes
both vcc and vccq.

This CAP is providing the protocol layer with important information,
needed to take optimized decisions during card initialization and in
the suspend/resume sequence.

MMC_CAP2_POWEROFF_NOTIFY is replaced by MMC_CAP2_FULL_PWR_CYCLE, since
it makes sense to use a wider scope for it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c
include/linux/mmc/host.h