]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: core: Fix power_off_notify during suspend
authorGirish K S <girish.shivananjappa@linaro.org>
Tue, 15 Nov 2011 06:25:46 +0000 (11:55 +0530)
committerChris Ball <cjb@laptop.org>
Tue, 15 Nov 2011 13:16:39 +0000 (08:16 -0500)
commit81bf312eda773a18e198bbf5f3390ae9ce2f1d14
treeab80a7ac63b24f8ed8ef7e33b756af34bf926532
parentc31b50e016b52cf90b8afa5ebbccf9b5cd34eb51
mmc: core: Fix power_off_notify during suspend

The eMMC 4.5 devices respond to only RESET and AWAKE command in the
sleep state. Hence the mmc switch command to notify power off state
should be sent before the device enters sleep state.

This patch fixes the same.

Signed-off-by: Girish K S <girish.shivananjappa@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c
drivers/mmc/core/mmc.c