diff options
Diffstat (limited to 'drivers/mmc/host/sdricoh_cs.c')
-rw-r--r-- | drivers/mmc/host/sdricoh_cs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdricoh_cs.c b/drivers/mmc/host/sdricoh_cs.c index b7e3057..50adbd1 100644 --- a/drivers/mmc/host/sdricoh_cs.c +++ b/drivers/mmc/host/sdricoh_cs.c @@ -516,7 +516,9 @@ static void sdricoh_pcmcia_detach(struct pcmcia_device *link) #ifdef CONFIG_PM static int sdricoh_pcmcia_suspend(struct pcmcia_device *link) { + struct mmc_host *mmc = link->priv; dev_dbg(&link->dev, "suspend\n"); + mmc_suspend_host(mmc); return 0; } @@ -525,6 +527,7 @@ static int sdricoh_pcmcia_resume(struct pcmcia_device *link) struct mmc_host *mmc = link->priv; dev_dbg(&link->dev, "resume\n"); sdricoh_reset(mmc_priv(mmc)); + mmc_resume_host(mmc); return 0; } #else |