ricoh_mmc: Use suspend_late/resume_early
authorphilipl@overt.org <philipl@overt.org>
Sun, 18 Jan 2009 19:11:20 +0000 (14:11 -0500)
committerPierre Ossman <drzeus@drzeus.cx>
Mon, 2 Feb 2009 19:57:06 +0000 (20:57 +0100)
commit06cc1c880095063fa40b0a640ac0003b43107b40
tree29872c44aeaa25ed9eb9b1fe2ffdc8f385713d34
parentcc30d60e4ca0b68e7e3f906eddd1e5b995d349f8
ricoh_mmc: Use suspend_late/resume_early

If ricoh_mmc suspends before sdhci_pci, it will pull the card
out from under the controller, which could leave the system in
a very confused state.

Using suspend_late/resume_early ensures that sdhci_pci suspends first
and resumes second.

Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/ricoh_mmc.c