diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2013-06-10 15:03:37 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-06-27 16:39:15 (GMT) |
commit | 810caddba42a54fe5db4e2664757a9a334ba359c (patch) | |
tree | 12bd0ddf6a95e42bbc5f0438337b5492710760d6 /virt | |
parent | 58a8a4a1a5da4694a3a069de5e0a8c15995e7b5f (diff) | |
download | linux-fsl-qoriq-810caddba42a54fe5db4e2664757a9a334ba359c.tar.xz |
mmc: core: Validate suspend prerequisites for SDIO at SUSPEND_PREPARE
This patch moves the validation for all the suspend prerequisites to be
done at SUSPEND_PREPARE notification. Previously in the SDIO case parts
of the validation was done from mmc_suspend_host.
This patch invents a new pre_suspend bus_ops callback and implements it
for SDIO. Returning an error code from it, will mean at SUSPEND_PREPARE
notification, the card will be removed before proceeding with the
suspend sequence.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions