]> git.baikalelectronics.ru Git - kernel.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>
Sat, 10 Dec 2011 21:18:36 +0000 (16:18 -0500)
commit4cd6f7ecbde79ca5e66e9beb19c9ac71e2bf2706
treea028c1fc5ff89cb3120159e720840e21241520f6
parent48f54f1b441f6cb19d4bddcbdb92bb81fd7a865c
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