mmc: core: Add Power Off Notify Feature eMMC 4.5
commitbec8726abc72bf30d2743a722aa37cd69e7a0580
authorGirish K S <girish.shivananjappa@linaro.org>
Thu, 13 Oct 2011 06:34:16 +0000 (13 12:04 +0530)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:23 +0000 (26 16:32 -0400)
treeeed4a3c441ff64f5719b021fce419de0fc5196d9
parent326adda53a50ece492c3edaa60afc26fba5e3232
mmc: core: Add Power Off Notify Feature eMMC 4.5

This patch adds support for the power off notify feature, available in
eMMC 4.5 devices. If the host has support for this feature, then the
mmc core will notify the device by setting the POWER_OFF_NOTIFICATION
byte in the extended csd register with a value of 1 (POWER_ON).

For suspend mode short timeout is used, whereas for the normal poweroff
long timeout is used.

Signed-off-by: Girish K S <girish.shivananjappa@linaro.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c
drivers/mmc/core/mmc.c
drivers/mmc/host/sdhci.c
include/linux/mmc/card.h
include/linux/mmc/host.h
include/linux/mmc/mmc.h