]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d42e76bbbaeb68d9438d6c589586d70aca58d7c
tree29872c44aeaa25ed9eb9b1fe2ffdc8f385713d34
parent08ed28cadfa917b9af4136bdc5716a07b8a2825e
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