mmc: core: Stop bkops for eMMC only from mmc suspend
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 2 May 2013 12:02:36 +0000 (14:02 +0200)
committerChris Ball <cjb@laptop.org>
Sun, 26 May 2013 18:23:15 +0000 (14:23 -0400)
Move mmc suspend specific operations to be executed from the .suspend
callback in the mmc bus_ops. This simplifies the mmc_suspend_host
function which is supposed to handle nothing but common suspend tasks.

Since eMMC can be considered non-removable there are no need to check
for ongoing bkops at PM_SUSPEND_PREPARE notification so remove it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found