mmc: core: Invent MMC_CAP2_FULL_PWR_CYCLE
commit53275c2136cc76b6ff26f8bec268c4bef9bab837
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Jun 2013 15:03:46 +0000 (10 17:03 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 16:39:22 +0000 (27 12:39 -0400)
tree10abc59a3b1c79078a800a6ce51a022152bf75c9
parent43235679341510f58a86eb75ab23cbae4bdc59b8
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