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)
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>

No differences found