From: Ulf Hansson Date: Mon, 10 Jun 2013 15:03:43 +0000 (+0200) Subject: mmc: core: Handle both poweroff notification types for eMMC X-Git-Tag: v3.11-rc1~50^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03d071fc8de4ad9b6e7374720ae81b7e928f6075;p=pandora-kernel.git mmc: core: Handle both poweroff notification types for eMMC Depending on the context of the operation while powering down the card, either POWER_OFF_NOTIFY_SHORT or POWER_OFF_NOTIFY_LONG will be used. In suspend context a short timeout is preferred while a long timeout would be acceptable in a shutdown/hibernation context. We add a new parameter to the mmc_suspend function so we can provide an indication of what notification type to use. Signed-off-by: Ulf Hansson Signed-off-by: Chris Ball --- Reading git-diff-tree failed