]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Add Power Off Notify Feature eMMC 4.5
authorGirish K S <girish.shivananjappa@linaro.org>
Thu, 13 Oct 2011 06:34:16 +0000 (12:04 +0530)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:23 +0000 (16:32 -0400)
commite0317ee76cadd6e0f70f190b645618c22b167744
treeeed4a3c441ff64f5719b021fce419de0fc5196d9
parent297899e877fa9ec57ba89dacfcfc30e0db630cdc
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